mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
Rename shregmap -tech xilinx -> xilinx_dynamic
This commit is contained in:
parent
7b186740d3
commit
94a5f4e609
2 changed files with 6 additions and 6 deletions
|
@ -93,12 +93,12 @@ struct ShregmapTechGreenpak4 : ShregmapTech
|
|||
}
|
||||
};
|
||||
|
||||
struct ShregmapTechXilinx7 : ShregmapTech
|
||||
struct ShregmapTechXilinx7Dynamic : ShregmapTech
|
||||
{
|
||||
dict<SigBit, std::tuple<Cell*,int,int>> sigbit_to_shiftx_offset;
|
||||
const ShregmapOptions &opts;
|
||||
|
||||
ShregmapTechXilinx7(const ShregmapOptions &opts) : opts(opts) {}
|
||||
ShregmapTechXilinx7Dynamic(const ShregmapOptions &opts) : opts(opts) {}
|
||||
|
||||
virtual void init(const Module* module, const SigMap &sigmap) override
|
||||
{
|
||||
|
@ -660,11 +660,11 @@ struct ShregmapPass : public Pass {
|
|||
opts.zinit = true;
|
||||
opts.tech = new ShregmapTechGreenpak4;
|
||||
}
|
||||
else if (tech == "xilinx") {
|
||||
else if (tech == "xilinx_dynamic") {
|
||||
opts.init = true;
|
||||
opts.params = true;
|
||||
enpol = "any_or_none";
|
||||
opts.tech = new ShregmapTechXilinx7(opts);
|
||||
opts.tech = new ShregmapTechXilinx7Dynamic(opts);
|
||||
} else {
|
||||
argidx--;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue