Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
redpitaya_guide/cores/axis_constant_v1_0/axis_constant.v
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
22 lines (16 sloc)
407 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`timescale 1 ns / 1 ps | |
module axis_constant # | |
( | |
parameter integer AXIS_TDATA_WIDTH = 32 | |
) | |
( | |
// System signals | |
input wire aclk, | |
input wire [AXIS_TDATA_WIDTH-1:0] cfg_data, | |
// Master side | |
output wire [AXIS_TDATA_WIDTH-1:0] m_axis_tdata, | |
output wire m_axis_tvalid | |
); | |
assign m_axis_tdata = cfg_data; | |
assign m_axis_tvalid = 1'b1; | |
endmodule |