-
-
Save SolraBizna/a07561efcd9d6a95322263f543c51581 to your computer and use it in GitHub Desktop.
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
module shifty(output debug_data, input debug_clock, input debug_strobe); | |
reg[15:0] shift; | |
assign debug_data = shift[15]; | |
always @(posedge debug_clock) begin | |
if(debug_strobe) shift <= 16'h BEEF; | |
else shift <= {shift[14:0], 1'b1}; | |
end | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment