Restore missing techmap -map +/cmp2lut.v with LUT_WIDTH=6

This commit is contained in:
Eddie Hung 2019-07-09 14:28:54 -07:00
parent b1a048a703
commit 5b48b18d29
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* yosys -- Yosys Open SYnthesis Suite * yosys -- Yosys Open SYnthesis Suite
* *
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
* (C) 2019 Eddie Hung <eddie@fpgeh.com>
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@ -252,6 +253,7 @@ struct SynthXilinxPass : public ScriptPass
run("wreduce" + std::string(widemux > 0 ? " -keepdc" : "")); run("wreduce" + std::string(widemux > 0 ? " -keepdc" : ""));
run("peepopt"); run("peepopt");
run("opt_clean"); run("opt_clean");
run("techmap -map +/cmp2lut.v -D LUT_WIDTH=6");
run("alumacc"); run("alumacc");
run("share"); run("share");
run("opt"); run("opt");