Initial commit

This commit is contained in:
2025-11-06 10:08:01 +08:00
commit 0bded5b86e
1033 changed files with 55966 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 2024/10/24 10:08:30
// Design Name:
// Module Name: tb_VotingMachine
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module tb_VotingMachine();
reg [4:0] votes;
wire [6:0] seg1;
wire [6:0] seg2;
VotingMachine dut (
.votes(votes),
.seg1(seg1),
.seg2(seg2)
);
initial begin
votes = 5'b00000; #10;
votes = 5'b10000; #10;
votes = 5'b11000; #10;
votes = 5'b11100; #10;
votes = 5'b11110; #10;
votes = 5'b11111; #10;
$stop;
end
endmodule