-
Notifications
You must be signed in to change notification settings - Fork 49
sdc: Add unrecordExceptionPins(ExceptionPath*) to resolve a crash #328
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
Open
jhkim-pii
wants to merge
3
commits into
parallaxsw:master
Choose a base branch
from
jhkim-pii:disconnect_pin_with_sdc
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+68
−0
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| Warning: asap7_simple.lib.gz line 71029, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 71505, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 71981, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 72457, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 72933, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 73409, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 73885, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 81795, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 82271, timing group from output port. | ||
| Warning: asap7_simple.lib.gz line 82747, timing group from output port. | ||
| set_multicycle_path on pins | ||
| Warning: disconnect_pin_with_sdc.tcl line 17, 'u0/buf0/A' is not a valid endpoint. | ||
| Warning: disconnect_pin_with_sdc.tcl line 18, 'u0/buf1/A' is not a valid endpoint. | ||
| Warning: disconnect_pin_with_sdc.tcl line 19, 'u0/buf2/A' is not a valid endpoint. | ||
| Warning: disconnect_pin_with_sdc.tcl line 20, 'u0/buf3/A' is not a valid endpoint. | ||
| disconnect the pin w/ SDC | ||
| Pass | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # disconnect_pin call for a pin where SDC is defined | ||
| read_liberty asap7_small.lib.gz | ||
| read_verilog disconnect_pin_with_sdc.v | ||
|
Collaborator
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. use reg1_asap7.v and asap7_small.lib.gz instead of expanding the required netlists
Author
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. Used asap7_small.lib.gz. |
||
| link_design top | ||
|
|
||
| create_clock -name clk -period 500 clk | ||
|
|
||
| # This SDC defines setup and hold time requirements for data pins | ||
| # relative to a clock, typical for a source-synchronous interface. | ||
| set_data_check -from clk -to [get_pins u0/A] -setup 10 | ||
| set_data_check -from clk -to [get_pins u0/A] -hold 10 | ||
| set_data_check -from clk -to [get_pins u1/A] -setup 10 | ||
| set_data_check -from clk -to [get_pins u1/A] -hold 10 | ||
| set_multicycle_path -end -setup 1 -to [get_pins u0/A] | ||
| set_multicycle_path -end -setup 1 -to [get_pins u1/A] | ||
| set_multicycle_path -start -hold 0 -to [get_pins u0/A] | ||
| set_multicycle_path -start -hold 0 -to [get_pins u1/A] | ||
|
|
||
| set in_pin [get_pins u1/A] | ||
| set in_net [get_net -of $in_pin] | ||
| disconnect_pin $in_net $in_pin | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| module top (clk, clkout, data_in, data_out); | ||
| input clk; | ||
| output clkout; | ||
| input [1:0] data_in; | ||
| output [1:0] data_out; | ||
|
|
||
| // Anchor buffers on the source-synchronous interface IOs | ||
| BUFx2_ASAP7_75t_R clkbuf0 (.A(clk), .Y(clkout)); | ||
| BUFx2_ASAP7_75t_R u0 (.A(data_in[0]), .Y(data_out[0])); | ||
| BUFx2_ASAP7_75t_R u1 (.A(data_in[1]), .Y(data_out[1])); | ||
| endmodule // top |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
pick a pin that is legal
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.
This is a key part. I revised the test case to represent anchor buffers on a source-synchronous interface.
In a source-synchronous interface, clock and signals are transferred from asynchronous domain, and the skew b/w clock and data signals should be managed.
To manage this, the problematic design defines the SDC as in this test case.