mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 08:23:19 +00:00
Fix Windows build by forcing initialization order, fixes #4068
This commit is contained in:
parent
ea7818d31b
commit
627fbc3477
3 changed files with 43 additions and 42 deletions
|
@ -30,10 +30,6 @@ PRIVATE_NAMESPACE_BEGIN
|
|||
// ============================================================================
|
||||
|
||||
struct QlDspIORegs : public Pass {
|
||||
const std::vector<IdString> ports2del_mult = {ID(load_acc), ID(subtract), ID(acc_fir), ID(dly_b),
|
||||
ID(saturate_enable), ID(shift_right), ID(round)};
|
||||
const std::vector<IdString> ports2del_mult_acc = {ID(acc_fir), ID(dly_b)};
|
||||
|
||||
SigMap sigmap;
|
||||
|
||||
// ..........................................
|
||||
|
@ -67,6 +63,11 @@ struct QlDspIORegs : public Pass {
|
|||
|
||||
void ql_dsp_io_regs_pass(RTLIL::Module *module)
|
||||
{
|
||||
static const std::vector<IdString> ports2del_mult = {ID(load_acc), ID(subtract), ID(acc_fir), ID(dly_b),
|
||||
ID(saturate_enable), ID(shift_right), ID(round)};
|
||||
static const std::vector<IdString> ports2del_mult_acc = {ID(acc_fir), ID(dly_b)};
|
||||
|
||||
|
||||
sigmap.set(module);
|
||||
|
||||
for (auto cell : module->cells()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue