Unsupported primitive/table constructs
Summary
Unsupported construct
Describe your setup
fastrich toolkit
TMRG Version
REPRODUCED_121
Steps to reproduce
primitive abqn (q,a,b,n);
// tmrg do_not_touch
output q;
input a, b, n;
reg q;
table
0 (01) ? : ? : 0;
0 * ? : 0 : 0;
1 (01) ? : ? : 1;
1 * ? : 1 : 1;
? (1?) ? : ? : -;
? (?0) ? : ? : -;
* ? ? : ? : -;
? ? * : ? : x;
endtable
endprimitive
What is the current bug behavior?
$ tmrg utils/tmrg/test/verilog/primitive.v
[ERROR ] Error in file 'utils/tmrg/test/verilog/primitive.v' around line '2'.
[ERROR ]
[ERROR ] ¤tmrg do_not_touch;
[ERROR ] ^
[ERROR ] Expected portBody, found '¤' (at char 28), (line:2, col:3)
[ERROR ] Error during parsing
What is the expected correct behavior?
Do not touch should be correctly applied
Possible fixes
To be investigated