diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-20 20:18:17 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-20 20:18:17 -0700 |
commit | b7a48e3e0f49f09e12a2b394b62256a87c398dbc (patch) | |
tree | 9667249b7e1ab86c264f44d0a2f03b326e2763fa /kernel/macc.h | |
parent | c320abc3f490b09b21804581c2b386c30d186a1e (diff) | |
parent | 33960dd3d84b628f6e5de45c112368dc80626457 (diff) | |
download | yosys-b7a48e3e0f49f09e12a2b394b62256a87c398dbc.tar.gz yosys-b7a48e3e0f49f09e12a2b394b62256a87c398dbc.tar.bz2 yosys-b7a48e3e0f49f09e12a2b394b62256a87c398dbc.zip |
Merge remote-tracking branch 'origin/master' into xc7dsp
Diffstat (limited to 'kernel/macc.h')
-rw-r--r-- | kernel/macc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/macc.h b/kernel/macc.h index e07e7e01a..371f6737d 100644 --- a/kernel/macc.h +++ b/kernel/macc.h @@ -99,10 +99,10 @@ struct Macc void from_cell(RTLIL::Cell *cell) { - RTLIL::SigSpec port_a = cell->getPort(ID(A)); + RTLIL::SigSpec port_a = cell->getPort(ID::A); ports.clear(); - bit_ports = cell->getPort(ID(B)); + bit_ports = cell->getPort(ID::B); std::vector<RTLIL::State> config_bits = cell->getParam(ID(CONFIG)).bits; int config_cursor = 0; @@ -191,8 +191,8 @@ struct Macc port_a.append(port.in_b); } - cell->setPort(ID(A), port_a); - cell->setPort(ID(B), bit_ports); + cell->setPort(ID::A, port_a); + cell->setPort(ID::B, bit_ports); cell->setParam(ID(CONFIG), config_bits); cell->setParam(ID(CONFIG_WIDTH), GetSize(config_bits)); cell->setParam(ID(A_WIDTH), GetSize(port_a)); |