mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-02 21:46:07 +00:00
Remove trailing whitespaces
This commit is contained in:
parent
48a3dcc02a
commit
a689342207
317 changed files with 3136 additions and 3136 deletions
|
|
@ -15,14 +15,14 @@
|
|||
library(supergate) {
|
||||
technology (cmos);
|
||||
revision : 1.0;
|
||||
|
||||
|
||||
time_unit : "1ps";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
voltage_unit : "1V";
|
||||
current_unit : "1uA";
|
||||
|
||||
current_unit : "1uA";
|
||||
|
||||
capacitive_load_unit(1,ff);
|
||||
|
||||
|
||||
default_inout_pin_cap : 7.0;
|
||||
default_input_pin_cap : 7.0;
|
||||
default_output_pin_cap : 0.0;
|
||||
|
|
@ -35,9 +35,9 @@ library(supergate) {
|
|||
nom_process : 1.0;
|
||||
nom_temperature : 25.0;
|
||||
nom_voltage : 1.2;
|
||||
|
||||
|
||||
delay_model : generic_cmos;
|
||||
|
||||
|
||||
type( IO_bus_3_to_0 ) {
|
||||
base_type : array ;
|
||||
data_type : bit ;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ library(dff) {
|
|||
ff("IQ", "IQN") {
|
||||
next_state : "(D)";
|
||||
clocked_on : (CLK);
|
||||
}
|
||||
}
|
||||
pin(D) {
|
||||
direction : input;
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@ library(dff) {
|
|||
}
|
||||
pin(Q) {
|
||||
direction: output;
|
||||
function : IQ;
|
||||
function : IQ;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
library(fake) {
|
||||
cell(bugbad) {
|
||||
bundle(X) {
|
||||
library(fake) {
|
||||
cell(bugbad) {
|
||||
bundle(X) {
|
||||
members(x1, x2);
|
||||
power_down_function : !a+b ;
|
||||
power_down_function : !a+b ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@
|
|||
library(supergate) {
|
||||
technology (cmos);
|
||||
revision : 1.0;
|
||||
|
||||
|
||||
time_unit : "1ps";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
voltage_unit : "1V";
|
||||
current_unit : "1uA";
|
||||
|
||||
current_unit : "1uA";
|
||||
|
||||
capacitive_load_unit(1,ff);
|
||||
|
||||
|
||||
default_inout_pin_cap : 7.0;
|
||||
default_input_pin_cap : 7.0;
|
||||
default_output_pin_cap : 0.0;
|
||||
|
|
@ -35,27 +35,27 @@ library(supergate) {
|
|||
nom_process : 1.0;
|
||||
nom_temperature : 25.0;
|
||||
nom_voltage : 1.2;
|
||||
|
||||
|
||||
delay_model : generic_cmos;
|
||||
|
||||
|
||||
/* Inverter */
|
||||
cell (inv) {
|
||||
area : 1;
|
||||
pin(A) {
|
||||
direction : input;
|
||||
}
|
||||
|
||||
|
||||
pin(Y) {
|
||||
direction : output;
|
||||
function : "A'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* tri-state inverter */
|
||||
cell (tri_inv) {
|
||||
area : 4;
|
||||
pin(A) {
|
||||
direction : input;
|
||||
direction : input;
|
||||
}
|
||||
pin(S) {
|
||||
direction : input;
|
||||
|
|
@ -66,7 +66,7 @@ library(supergate) {
|
|||
three_State : "S'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
cell (buffer) {
|
||||
area : 5;
|
||||
pin(A) {
|
||||
|
|
@ -76,8 +76,8 @@ library(supergate) {
|
|||
direction : output;
|
||||
function : "A";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* 2-input NAND gate */
|
||||
cell (nand2) {
|
||||
area : 3;
|
||||
|
|
@ -92,7 +92,7 @@ library(supergate) {
|
|||
function : "(A * B)'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* 2-input NOR gate */
|
||||
cell (nor2) {
|
||||
area : 3;
|
||||
|
|
@ -107,7 +107,7 @@ library(supergate) {
|
|||
function : "(A + B)'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* 2-input XOR */
|
||||
cell (xor2) {
|
||||
area : 6;
|
||||
|
|
@ -122,7 +122,7 @@ library(supergate) {
|
|||
function : "(A *B') + (A' * B)";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* 2-input inverting MUX */
|
||||
cell (imux2) {
|
||||
area : 5;
|
||||
|
|
@ -134,13 +134,13 @@ library(supergate) {
|
|||
}
|
||||
pin(S) {
|
||||
direction : input;
|
||||
}
|
||||
}
|
||||
pin(Y) {
|
||||
direction: output;
|
||||
function : "( (A * S) + (B * S') )'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* D-type flip-flop with asynchronous reset and preset */
|
||||
cell (dff) {
|
||||
area : 6;
|
||||
|
|
@ -151,7 +151,7 @@ library(supergate) {
|
|||
preset : "PRESET";
|
||||
clear_preset_var1 : L;
|
||||
clear_preset_var2 : L;
|
||||
}
|
||||
}
|
||||
pin(D) {
|
||||
direction : input;
|
||||
}
|
||||
|
|
@ -172,7 +172,7 @@ library(supergate) {
|
|||
intrinsic_rise : 65;
|
||||
intrinsic_fall : 65;
|
||||
rise_resistance : 0;
|
||||
fall_resistance : 0;
|
||||
fall_resistance : 0;
|
||||
related_pin : "CLK";
|
||||
}
|
||||
timing () {
|
||||
|
|
@ -186,7 +186,7 @@ library(supergate) {
|
|||
timing_sense : negative_unate;
|
||||
intrinsic_rise : 75;
|
||||
related_pin : "PRESET";
|
||||
}
|
||||
}
|
||||
}
|
||||
pin(QN) {
|
||||
direction: output;
|
||||
|
|
@ -196,7 +196,7 @@ library(supergate) {
|
|||
intrinsic_rise : 65;
|
||||
intrinsic_fall : 65;
|
||||
rise_resistance : 0;
|
||||
fall_resistance : 0;
|
||||
fall_resistance : 0;
|
||||
related_pin : "CLK";
|
||||
}
|
||||
timing () {
|
||||
|
|
@ -210,8 +210,8 @@ library(supergate) {
|
|||
timing_sense : positive_unate;
|
||||
intrinsic_fall : 75;
|
||||
related_pin : "PRESET";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Latch */
|
||||
|
|
@ -228,12 +228,12 @@ library(supergate) {
|
|||
pin(G) {
|
||||
direction : input;
|
||||
}
|
||||
|
||||
|
||||
pin(Q) {
|
||||
direction : output;
|
||||
function : "IQ";
|
||||
internal_node : "Q";
|
||||
|
||||
|
||||
timing() {
|
||||
timing_type : rising_edge;
|
||||
intrinsic_rise : 65;
|
||||
|
|
@ -242,7 +242,7 @@ library(supergate) {
|
|||
fall_resistance : 0;
|
||||
related_pin : "G";
|
||||
}
|
||||
|
||||
|
||||
timing() {
|
||||
timing_sense : positive_unate;
|
||||
intrinsic_rise : 65;
|
||||
|
|
@ -252,12 +252,12 @@ library(supergate) {
|
|||
related_pin : "D";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pin(QN) {
|
||||
direction : output;
|
||||
function : "IQN";
|
||||
internal_node : "QN";
|
||||
|
||||
|
||||
timing() {
|
||||
timing_type : rising_edge;
|
||||
intrinsic_rise : 65;
|
||||
|
|
@ -266,7 +266,7 @@ library(supergate) {
|
|||
fall_resistance : 0;
|
||||
related_pin : "G";
|
||||
}
|
||||
|
||||
|
||||
timing() {
|
||||
timing_sense : negative_unate;
|
||||
intrinsic_rise : 65;
|
||||
|
|
@ -289,7 +289,7 @@ library(supergate) {
|
|||
}
|
||||
pin(C) {
|
||||
direction : input;
|
||||
}
|
||||
}
|
||||
pin(Y) {
|
||||
direction: output;
|
||||
function : "((A * B) + C)'";
|
||||
|
|
@ -308,7 +308,7 @@ library(supergate) {
|
|||
}
|
||||
pin(C) {
|
||||
direction : input;
|
||||
}
|
||||
}
|
||||
pin(Y) {
|
||||
direction: output;
|
||||
function : "((A + B) * C)'";
|
||||
|
|
@ -327,11 +327,11 @@ library(supergate) {
|
|||
pin(C) {
|
||||
direction : output;
|
||||
function : "(A * B)";
|
||||
}
|
||||
}
|
||||
pin(Y) {
|
||||
direction: output;
|
||||
function : "(A *B') + (A' * B)";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* full adder */
|
||||
|
|
@ -345,7 +345,7 @@ library(supergate) {
|
|||
}
|
||||
pin(CI) {
|
||||
direction : input;
|
||||
}
|
||||
}
|
||||
pin(CO) {
|
||||
direction : output;
|
||||
function : "(((A * B)+(B * CI))+(CI * A))";
|
||||
|
|
@ -353,7 +353,7 @@ library(supergate) {
|
|||
pin(Y) {
|
||||
direction: output;
|
||||
function : "((A^B)^CI)";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} /* end */
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ library(processdefs) {
|
|||
revision : 1.0;
|
||||
|
||||
time_unit : "1ps";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
voltage_unit : "1V";
|
||||
current_unit : "1uA";
|
||||
current_unit : "1uA";
|
||||
|
||||
capacitive_load_unit(1,ff);
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ library(processdefs) {
|
|||
nom_voltage : 1.2;
|
||||
|
||||
delay_model : generic_cmos;
|
||||
|
||||
|
||||
define_cell_area(bond_pads,pad_slots)
|
||||
input_voltage(cmos) {
|
||||
vil : 0.3 * VDD ;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ library(supergate) {
|
|||
"0.7000, 0.6000, 0.5000, 0.4000, 0.2000", \
|
||||
"1.0000, 1.0000, 0.9000, 0.8000, 0.6000"); };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pin(CK) {
|
||||
direction : input;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
/* */
|
||||
/********************************************/
|
||||
|
||||
/*
|
||||
/*
|
||||
semi colon is missing in full-adder specification
|
||||
some TSMC liberty files are formatted this way..
|
||||
*/
|
||||
|
|
@ -22,14 +22,14 @@
|
|||
library(supergate) {
|
||||
technology (cmos);
|
||||
revision : 1.0;
|
||||
|
||||
|
||||
time_unit : "1ps";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
pulling_resistance_unit : "1kohm";
|
||||
voltage_unit : "1V";
|
||||
current_unit : "1uA";
|
||||
|
||||
current_unit : "1uA";
|
||||
|
||||
capacitive_load_unit(1,ff);
|
||||
|
||||
|
||||
default_inout_pin_cap : 7.0;
|
||||
default_input_pin_cap : 7.0;
|
||||
default_output_pin_cap : 0.0;
|
||||
|
|
@ -42,9 +42,9 @@ library(supergate) {
|
|||
nom_process : 1.0;
|
||||
nom_temperature : 25.0;
|
||||
nom_voltage : 1.2;
|
||||
|
||||
|
||||
delay_model : generic_cmos;
|
||||
|
||||
|
||||
/* full adder */
|
||||
cell (fulladder) {
|
||||
area : 8
|
||||
|
|
@ -56,7 +56,7 @@ library(supergate) {
|
|||
}
|
||||
pin(CI) {
|
||||
direction : input
|
||||
}
|
||||
}
|
||||
pin(CO) {
|
||||
direction : output
|
||||
function : "(((A * B)+(B * CI))+(CI * A))"
|
||||
|
|
@ -64,7 +64,7 @@ library(supergate) {
|
|||
pin(Y) {
|
||||
direction: output
|
||||
function : "((A^B)^CI)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} /* end */
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ module small
|
|||
|
||||
initial count = 0;
|
||||
|
||||
always @ (posedge clk)
|
||||
always @ (posedge clk)
|
||||
begin
|
||||
count <= count + 1'b1;
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue