mirror of https://github.com/YosysHQ/yosys.git
Merge remote-tracking branch 'origin/master' into eddie/fix_retime
This commit is contained in:
commit
c89cd48f58
|
@ -744,7 +744,8 @@ grow_read_ports:;
|
||||||
if (clken) {
|
if (clken) {
|
||||||
clock_domains[pi.clocks] = clkdom;
|
clock_domains[pi.clocks] = clkdom;
|
||||||
clock_polarities[pi.clkpol] = clkdom.second;
|
clock_polarities[pi.clkpol] = clkdom.second;
|
||||||
read_transp[pi.transp] = transp;
|
if (!pi.make_transp)
|
||||||
|
read_transp[pi.transp] = transp;
|
||||||
pi.sig_clock = clkdom.first;
|
pi.sig_clock = clkdom.first;
|
||||||
pi.sig_en = rd_en[cell_port_i];
|
pi.sig_en = rd_en[cell_port_i];
|
||||||
pi.effective_clkpol = clkdom.second;
|
pi.effective_clkpol = clkdom.second;
|
||||||
|
|
|
@ -83,8 +83,8 @@ They are declared like state variables, just using the `udata` statement:
|
||||||
udata <int> min_data_width max_data_width
|
udata <int> min_data_width max_data_width
|
||||||
udata <IdString> data_port_name
|
udata <IdString> data_port_name
|
||||||
|
|
||||||
They are atomatically initialzed to the default constructed value of their type
|
They are automatically initialized to the default constructed value of their type
|
||||||
when ther pattern matcher object is constructed.
|
when the pattern matcher object is constructed.
|
||||||
|
|
||||||
Embedded C++ code
|
Embedded C++ code
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -158,7 +158,7 @@ Finally, `filter <expression>` narrows down the remaining list of cells. For
|
||||||
performance reasons `filter` statements should only be used for things that
|
performance reasons `filter` statements should only be used for things that
|
||||||
can't be done using `select` and `index`.
|
can't be done using `select` and `index`.
|
||||||
|
|
||||||
The `optional` statement marks optional matches. I.e. the matcher will also
|
The `optional` statement marks optional matches. That is, the matcher will also
|
||||||
explore the case where `mul` is set to `nullptr`. Without the `optional`
|
explore the case where `mul` is set to `nullptr`. Without the `optional`
|
||||||
statement a match may only be assigned nullptr when one of the `if` expressions
|
statement a match may only be assigned nullptr when one of the `if` expressions
|
||||||
evaluates to `false`.
|
evaluates to `false`.
|
||||||
|
|
Loading…
Reference in New Issue