SILICON
Loading...
Searching...
No Matches
register.cpp File Reference
#include "tests.hpp"
#include <core/circuit.hpp>
#include <core/register.hpp>
#include <core/serialization/component_registration.hpp>
#include <core/serialization/component_registry.hpp>
#include <core/simulator.hpp>
#include <nlohmann/json.hpp>
Include dependency graph for register.cpp:

Go to the source code of this file.

Functions

 TEST (RegisterTest, ValidatesPropertiesAndShapesBuses)
 TEST (RegisterTest, MetadataUsesRegisterCategory)
 TEST (RegisterTest, ParallelInParallelOutCapturesOnRisingEdge)
 TEST (RegisterTest, UnconnectedClearAllowsClockedCapture)
 TEST (RegisterTest, ClearIsActiveHighAndAsynchronous)
 TEST (RegisterTest, EnableLowHoldsStateButClearStillOverrides)
 TEST (RegisterTest, SerialInSerialOutShiftsLsbFirst)
 TEST (RegisterTest, SerialInParallelOutAccumulatesBits)
 TEST (RegisterTest, ParallelInSerialOutLoadsThenShiftsLsbFirst)
 TEST (RegisterTest, ParallelInSerialOutHonorsExplicitLoadControlPriority)
 TEST (RegisterTest, DelayAppliesToOutputUpdates)
 TEST (RegisterTest, SerializationPreservesPropertiesAndBusWidths)

Function Documentation

◆ TEST() [1/12]

TEST ( RegisterTest ,
ClearIsActiveHighAndAsynchronous  )

Definition at line 178 of file register.cpp.

◆ TEST() [2/12]

TEST ( RegisterTest ,
DelayAppliesToOutputUpdates  )

Definition at line 381 of file register.cpp.

◆ TEST() [3/12]

TEST ( RegisterTest ,
EnableLowHoldsStateButClearStillOverrides  )

Definition at line 202 of file register.cpp.

◆ TEST() [4/12]

TEST ( RegisterTest ,
MetadataUsesRegisterCategory  )

Definition at line 108 of file register.cpp.

◆ TEST() [5/12]

TEST ( RegisterTest ,
ParallelInParallelOutCapturesOnRisingEdge  )

Definition at line 119 of file register.cpp.

◆ TEST() [6/12]

TEST ( RegisterTest ,
ParallelInSerialOutHonorsExplicitLoadControlPriority  )

Definition at line 333 of file register.cpp.

◆ TEST() [7/12]

TEST ( RegisterTest ,
ParallelInSerialOutLoadsThenShiftsLsbFirst  )

Definition at line 296 of file register.cpp.

◆ TEST() [8/12]

TEST ( RegisterTest ,
SerialInParallelOutAccumulatesBits  )

Definition at line 266 of file register.cpp.

◆ TEST() [9/12]

TEST ( RegisterTest ,
SerialInSerialOutShiftsLsbFirst  )

Definition at line 233 of file register.cpp.

◆ TEST() [10/12]

TEST ( RegisterTest ,
SerializationPreservesPropertiesAndBusWidths  )

Definition at line 404 of file register.cpp.

◆ TEST() [11/12]

TEST ( RegisterTest ,
UnconnectedClearAllowsClockedCapture  )

Definition at line 142 of file register.cpp.

◆ TEST() [12/12]

TEST ( RegisterTest ,
ValidatesPropertiesAndShapesBuses  )

Definition at line 77 of file register.cpp.