Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/v2x/yosys/run.py b/v2x/yosys/run.py
- index ef2627e..7e48993 100755
- --- a/v2x/yosys/run.py
- +++ b/v2x/yosys/run.py
- @@ -273,7 +273,7 @@ def get_combinational_sinks(infiles, module, innet):
- innet: Name of input net to find sinks of
- """
- return do_select(
- - infiles, module, "{} %co* o:* %i {} %d".format(innet, innet)
- + infiles, module, "={} %co* =o:* %i ={} %d".format(innet, innet)
- )
- @@ -287,7 +287,7 @@ def list_clocks(infiles, module):
- """
- return do_select(
- infiles, module,
- - "c:* %x:+[CLK]:+[clk]:+[clock]:+[CLOCK] c:* %d x:* %i"
- + "=c:* %x:+[CLK]:+[clk]:+[clock]:+[CLOCK] =c:* %d =x:* %i"
- )
- @@ -302,7 +302,7 @@ def get_clock_assoc_signals(infiles, module, clk):
- """
- return do_select(
- infiles, module,
- - "select -list {} %a %co* %x i:* o:* %u %i a:ASSOC_CLOCK={} %u {} %d".
- + "select -list ={} %a %co* %x =i:* =o:* %u %i =a:ASSOC_CLOCK={} %u ={} %d".
- format(clk, clk, clk)
- )
- @@ -327,7 +327,7 @@ def get_related_output_for_input(infiles, module, signal):
- clk: Name of clock to find associated signals
- """
- return do_select(
- - infiles, module, "select -list w:*{} %a %co* o:* %i".format(signal)
- + infiles, module, "select -list =w:*{} %a %co* =o:* %i".format(signal)
- )
- @@ -343,6 +343,6 @@ def get_related_inputs_for_input(infiles, module, signal):
- return [
- x for x in do_select(
- infiles, module,
- - "select -list w:*{} %a %co* %x i:* %i".format(signal)
- + "select -list =w:*{} %a %co* %x =i:* %i".format(signal)
- ) if x != signal
- ]
Add Comment
Please, Sign In to add comment