mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-04 06:53:59 +00:00
Merge remote-tracking branch 'origin/master' into xaig
This commit is contained in:
commit
f7a9769c14
140 changed files with 4698 additions and 1852 deletions
|
@ -957,10 +957,21 @@ endmodule
|
|||
|
||||
(* blackbox *)
|
||||
module SB_HFOSC(
|
||||
input TRIM0,
|
||||
input TRIM1,
|
||||
input TRIM2,
|
||||
input TRIM3,
|
||||
input TRIM4,
|
||||
input TRIM5,
|
||||
input TRIM6,
|
||||
input TRIM7,
|
||||
input TRIM8,
|
||||
input TRIM9,
|
||||
input CLKHFPU,
|
||||
input CLKHFEN,
|
||||
output CLKHF
|
||||
);
|
||||
parameter TRIM_EN = "0b0";
|
||||
parameter CLKHF_DIV = "0b00";
|
||||
endmodule
|
||||
|
||||
|
@ -989,6 +1000,30 @@ parameter RGB1_CURRENT = "0b000000";
|
|||
parameter RGB2_CURRENT = "0b000000";
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module SB_LED_DRV_CUR(
|
||||
input EN,
|
||||
output LEDPU
|
||||
);
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module SB_RGB_DRV(
|
||||
input RGBLEDEN,
|
||||
input RGB0PWM,
|
||||
input RGB1PWM,
|
||||
input RGB2PWM,
|
||||
input RGBPU,
|
||||
output RGB0,
|
||||
output RGB1,
|
||||
output RGB2
|
||||
);
|
||||
parameter CURRENT_MODE = "0b0";
|
||||
parameter RGB0_CURRENT = "0b000000";
|
||||
parameter RGB1_CURRENT = "0b000000";
|
||||
parameter RGB2_CURRENT = "0b000000";
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module SB_I2C(
|
||||
input SBCLKI,
|
||||
|
|
|
@ -245,11 +245,13 @@ struct SynthIce40Pass : public ScriptPass
|
|||
run("proc");
|
||||
}
|
||||
|
||||
if (flatten && check_label("flatten", "(unless -noflatten)"))
|
||||
if (check_label("flatten", "(unless -noflatten)"))
|
||||
{
|
||||
run("flatten");
|
||||
run("tribuf -logic");
|
||||
run("deminout");
|
||||
if (flatten) {
|
||||
run("flatten");
|
||||
run("tribuf -logic");
|
||||
run("deminout");
|
||||
}
|
||||
}
|
||||
|
||||
if (check_label("coarse"))
|
||||
|
@ -259,6 +261,8 @@ struct SynthIce40Pass : public ScriptPass
|
|||
run("check");
|
||||
run("opt");
|
||||
run("wreduce");
|
||||
run("peepopt");
|
||||
run("opt_clean");
|
||||
run("share");
|
||||
run("techmap -map +/cmp2lut.v -D LUT_WIDTH=4");
|
||||
run("opt_expr");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue