mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 04:43:40 +00:00
replace space indent with tab indent
This commit is contained in:
parent
acddc36389
commit
2ced2752e9
31 changed files with 791 additions and 797 deletions
|
@ -221,8 +221,6 @@ code
|
||||||
{
|
{
|
||||||
subpattern(tail);
|
subpattern(tail);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (GetSize(chain) > GetSize(longest_chain))
|
if (GetSize(chain) > GetSize(longest_chain))
|
||||||
longest_chain = chain;
|
longest_chain = chain;
|
||||||
|
|
|
@ -259,7 +259,6 @@ generate
|
||||||
assign PORT_R_RD_DATA[19:0] = B_read_data[19:0];
|
assign PORT_R_RD_DATA[19:0] = B_read_data[19:0];
|
||||||
assign PORT_R_RD_DATA[39:20] = A_read_data[19:0];
|
assign PORT_R_RD_DATA[39:20] = A_read_data[19:0];
|
||||||
end
|
end
|
||||||
|
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
// port width
|
// port width
|
||||||
|
@ -314,9 +313,7 @@ RAM1K20 #(
|
||||||
// Disable ECC for SDP
|
// Disable ECC for SDP
|
||||||
.ECC_EN(1'b0),
|
.ECC_EN(1'b0),
|
||||||
.ECC_BYPASS(1'b1),
|
.ECC_BYPASS(1'b1),
|
||||||
|
|
||||||
.BUSY_FB(1'b0)
|
.BUSY_FB(1'b0)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -644,7 +644,6 @@ module RAM1K18 (
|
||||||
input B_DOUT_CLK,
|
input B_DOUT_CLK,
|
||||||
input B_DOUT_EN,
|
input B_DOUT_EN,
|
||||||
input B_DOUT_SRST_N,
|
input B_DOUT_SRST_N,
|
||||||
|
|
||||||
input A_EN,
|
input A_EN,
|
||||||
input B_EN,
|
input B_EN,
|
||||||
input SII_LOCK,
|
input SII_LOCK,
|
||||||
|
@ -840,7 +839,7 @@ module RAM64x12 (
|
||||||
|
|
||||||
input W_CLK,
|
input W_CLK,
|
||||||
input [5:0] W_ADDR,
|
input [5:0] W_ADDR,
|
||||||
input [11:0] W_DATA,
|
input [11:0]W_DATA,
|
||||||
input W_EN,
|
input W_EN,
|
||||||
|
|
||||||
input BUSY_FB,
|
input BUSY_FB,
|
||||||
|
|
|
@ -20,7 +20,7 @@ module reduce(
|
||||||
input [7:0] data,
|
input [7:0] data,
|
||||||
output Y
|
output Y
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
assign Y = ^data;
|
assign Y = ^data;
|
||||||
|
|
|
@ -101,22 +101,22 @@ end
|
||||||
|
|
||||||
// sync reset C
|
// sync reset C
|
||||||
always@(posedge clk) begin
|
always@(posedge clk) begin
|
||||||
if (srst_C_N) begin
|
if (srst_C_N) begin
|
||||||
reg_C = 5'b00000;
|
reg_C = 5'b00000;
|
||||||
end else begin
|
end else begin
|
||||||
reg_C = in_C;
|
reg_C = in_C;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// sync reset P
|
// sync reset P
|
||||||
always@(posedge clk) begin
|
always@(posedge clk) begin
|
||||||
if (srst_P_N) begin
|
if (srst_P_N) begin
|
||||||
out_P = 12'h000;
|
out_P = 12'h000;
|
||||||
end else begin
|
end else begin
|
||||||
out_P = reg_A * (reg_B + reg_D) + reg_C;
|
out_P = reg_A * (reg_B + reg_D) + reg_C;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
endmodule
|
endmodule
|
|
@ -22,11 +22,11 @@ module widemux(
|
||||||
input S1,
|
input S1,
|
||||||
output Y
|
output Y
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
wire A, B;
|
wire A, B;
|
||||||
|
|
||||||
always @ (*) begin
|
always @ (*) begin
|
||||||
if (S0)begin
|
if (S0)begin
|
||||||
A = data[1];
|
A = data[1];
|
||||||
B = data[3];
|
B = data[3];
|
||||||
|
@ -41,7 +41,7 @@ module widemux(
|
||||||
Y = B;
|
Y = B;
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ ram block $__uSRAM_SR_ {
|
||||||
|
|
||||||
init any;
|
init any;
|
||||||
abits 6;
|
abits 6;
|
||||||
widths 12 per_port;
|
widths 12 per_port;
|
||||||
|
|
||||||
port sw "W" {
|
port sw "W" {
|
||||||
clock posedge;
|
clock posedge;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue