CIRCT 23.0.0git
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
test_codegen.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_codegen
 

Functions

 test_codegen._build_harness_manifest ()
 
 test_codegen.test_codegen_round_trip (tmp_path)
 
str test_codegen._emit (type_table, str system_name="test_ns")
 
 test_codegen.test_unbounded_field_skips_struct_with_comment ()
 

Variables

 test_codegen._HARNESS_DIR = Path(__file__).parent
 
 test_codegen.requires_cmake
 
 test_codegen._uint1 = types.UIntType("ui1", 1)
 
 test_codegen._uint2 = types.UIntType("ui2", 2)
 
 test_codegen._uint3 = types.UIntType("ui3", 3)
 
 test_codegen._uint7 = types.UIntType("ui7", 7)
 
 test_codegen._uint8 = types.UIntType("ui8", 8)
 
 test_codegen._uint12 = types.UIntType("ui12", 12)
 
 test_codegen._uint16 = types.UIntType("ui16", 16)
 
 test_codegen._uint24 = types.UIntType("ui24", 24)
 
 test_codegen._uint32 = types.UIntType("ui32", 32)
 
 test_codegen._uint64 = types.UIntType("ui64", 64)
 
 test_codegen._sint5 = types.SIntType("si5", 5)
 
 test_codegen._sint7 = types.SIntType("si7", 7)
 
 test_codegen._sint8 = types.SIntType("si8", 8)
 
 test_codegen._sint16 = types.SIntType("si16", 16)
 
 test_codegen._sint24 = types.SIntType("si24", 24)
 
 test_codegen._sint32 = types.SIntType("si32", 32)
 
 test_codegen._sint64 = types.SIntType("si64", 64)
 
 test_codegen._bits128 = types.BitsType("bits128", 128)
 
 test_codegen._uint96 = types.UIntType("ui96", 96)
 
 test_codegen._uint128 = types.UIntType("ui128", 128)
 
 test_codegen._sint96 = types.SIntType("si96", 96)
 
 test_codegen._sint128 = types.SIntType("si128", 128)