diff options
author | Peter <peter@crozier.com> | 2020-02-27 16:59:19 +0000 |
---|---|---|
committer | Grazfather <grazfather@gmail.com> | 2020-03-22 18:20:46 -0700 |
commit | 6d8d6b402fafd31ef555415b9f4b9e17941337ea (patch) | |
tree | 54ef6f1b1e398db15338e2ac145470c3efa2bc59 /tests/svtypes/typedef_simple.sv | |
parent | 14f32028ec878b8ba7324584631523f5b571b39f (diff) | |
download | yosys-6d8d6b402fafd31ef555415b9f4b9e17941337ea.tar.gz yosys-6d8d6b402fafd31ef555415b9f4b9e17941337ea.tar.bz2 yosys-6d8d6b402fafd31ef555415b9f4b9e17941337ea.zip |
Revert typedef tests to standard grammar.
Diffstat (limited to 'tests/svtypes/typedef_simple.sv')
-rw-r--r-- | tests/svtypes/typedef_simple.sv | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/svtypes/typedef_simple.sv b/tests/svtypes/typedef_simple.sv index 7e760dee4..8f89910e5 100644 --- a/tests/svtypes/typedef_simple.sv +++ b/tests/svtypes/typedef_simple.sv @@ -3,12 +3,12 @@ module top; typedef logic [1:0] uint2_t; typedef logic signed [3:0] int4_t; typedef logic signed [7:0] int8_t; - typedef (int8_t) char_t; + typedef int8_t char_t; - (* keep *) (uint2_t) int2 = 2'b10; - (* keep *) (int4_t) int4 = -1; - (* keep *) (int8_t) int8 = int4; - (* keep *) (char_t) ch = int8; + (* keep *) uint2_t int2 = 2'b10; + (* keep *) int4_t int4 = -1; + (* keep *) int8_t int8 = int4; + (* keep *) char_t ch = int8; always @* assert(int2 == 2'b10); |