mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-12 04:03:45 +00:00
Problems/questions: - memory.ys: ERROR: Failed to import cell gate.mem.0.0.0 (type EG_LOGIC_DRAM16X4) to SAT database. Why EG_LOGIC_DRAM16X4, not AL_LOGIC_BRAM? - Internal cell type $_TBUF_ is present.
18 lines
235 B
Verilog
18 lines
235 B
Verilog
module top (
|
|
out,
|
|
clk,
|
|
reset
|
|
);
|
|
output [7:0] out;
|
|
input clk, reset;
|
|
reg [7:0] out;
|
|
|
|
always @(posedge clk, posedge reset)
|
|
if (reset) begin
|
|
out <= 8'b0 ;
|
|
end else
|
|
out <= out + 1;
|
|
|
|
|
|
endmodule
|