11
tests/svtypes/typedef_package.sv
Normal file
11
tests/svtypes/typedef_package.sv
Normal file
@@ -0,0 +1,11 @@
|
||||
package pkg;
|
||||
typedef logic [7:0] uint8_t;
|
||||
endpackage
|
||||
|
||||
module top;
|
||||
|
||||
(* keep *) pkg::uint8_t a = 8'hAA;
|
||||
|
||||
always @* assert(a == 8'hAA);
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user