Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
Uart Transmitter FPGA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tamási Benjamin
Uart Transmitter FPGA
Commits
d43316a3
Commit
d43316a3
authored
Oct 19, 2014
by
Tamási Benjamin
Browse files
Options
Downloads
Patches
Plain Diff
Added test fixture
parent
92e8182f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test.v
+71
-0
71 additions, 0 deletions
test.v
with
71 additions
and
0 deletions
test.v
0 → 100644
+
71
−
0
View file @
d43316a3
`timescale
1
ns
/
1
ps
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 13:07:18 10/16/2014
// Design Name: uartop
// Module Name: /home/halftome/ise_uart/testop.v
// Project Name: ise_uart
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: uartop
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
module
testop
;
// Inputs
reg
clk
;
reg
rst
;
reg
btn1
;
reg
sw6
;
reg
sw7
;
// Outputs
wire
txd
;
wire
rts
;
// Instantiate the Unit Under Test (UUT)
uartop
uut
(
.
clk
(
clk
),
.
rst
(
rst
),
.
btn1
(
btn1
),
.
sw6
(
sw6
),
.
sw7
(
sw7
),
.
txd
(
txd
),
.
rts
(
rts
)
);
initial
begin
// Initialize Inputs
clk
=
0
;
rst
=
1
;
btn1
=
0
;
sw6
=
1
;
sw7
=
1
;
// Wait 100 ns for global reset to finish
#
100
;
// Add stimulus here
rst
=
0
;
// RST finished
#
50
btn1
=
1
;
// Button push
#
50
btn1
=
0
;
// Button release
end
always
#
10
clk
=
~
clk
;
endmodule
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment