-
Notifications
You must be signed in to change notification settings - Fork 415
EBLIF cell parameter interpretation #1663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
27c7402
c28468f
9d31804
5de5dbb
9752d01
71fc191
996f3aa
1cbc9b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,16 @@ | |
.names a b a_and_b | ||
11 1 | ||
.cname lut_a_and_b | ||
.param test_names_param "test_names_param_value" | ||
.param test_names_param_str "test_names_param_str_value" | ||
.param test_names_param_bin 00110101 | ||
.param test_names_param_num 2.0 | ||
.attr test_names_attrib "test_names_param_attrib" | ||
|
||
.latch a_and_b dff_q re clk 0 | ||
.cname my_dff | ||
.param test_latch_param "test_latch_param_value" | ||
.param test_latch_param "test_latch_param_str_value" | ||
.param test_latch_param_bin 00110101 | ||
.param test_latch_param_num 2.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You need negative tests here! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also I recommend reviewing the failure output to make sure it is possible to understand the problem from the error message. Concrete things I'd look for:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe that VPR at this point doesn't support test cases that are meant to fail (however https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/vtr_flow/scripts/python_libs/vtr/util.py#L73-L75 allows that but this parameter is not used anywhere in the test framework). |
||
.attr test_latch_attrib "test_latch_param_attrib" | ||
|
||
.conn dff_q o_dff | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is
.param x 2
? A real number or error?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its an error. For an integer 2 you need
10
, for a real 2 you need2.0
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to make clear that
2
is illegal, because it is not a binary word (has a 2) and is not a string (no quotes) and not a real number (no.
).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added clearer explanation of illegal formats