mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Changed the $mem/$memwr WR_EN input to a per-data-bit enable signal
This commit is contained in:
parent
964a67ac41
commit
73e0e13d2f
2 changed files with 6 additions and 5 deletions
|
@ -619,7 +619,7 @@ namespace {
|
|||
param_bool("\\CLK_POLARITY");
|
||||
param("\\PRIORITY");
|
||||
port("\\CLK", 1);
|
||||
port("\\EN", 1);
|
||||
port("\\EN", param("\\WIDTH"));
|
||||
port("\\ADDR", param("\\ABITS"));
|
||||
port("\\DATA", param("\\WIDTH"));
|
||||
check_expected();
|
||||
|
@ -639,7 +639,7 @@ namespace {
|
|||
port("\\RD_ADDR", param("\\RD_PORTS") * param("\\ABITS"));
|
||||
port("\\RD_DATA", param("\\RD_PORTS") * param("\\WIDTH"));
|
||||
port("\\WR_CLK", param("\\WR_PORTS"));
|
||||
port("\\WR_EN", param("\\WR_PORTS"));
|
||||
port("\\WR_EN", param("\\WR_PORTS") * param("\\WIDTH"));
|
||||
port("\\WR_ADDR", param("\\WR_PORTS") * param("\\ABITS"));
|
||||
port("\\WR_DATA", param("\\WR_PORTS") * param("\\WIDTH"));
|
||||
check_expected();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue