diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2016-11-21 22:53:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-21 22:53:23 +0000 |
commit | adcddab20a821d6f278710909afe640f7a00d36b (patch) | |
tree | 40d7b08a7b0a30be7595c36dae02126edc7c74c7 | |
parent | c127aa26601dd86e87ba8d4ac2d4c68313bb1779 (diff) | |
download | VerilogCoursework-adcddab20a821d6f278710909afe640f7a00d36b.tar.gz VerilogCoursework-adcddab20a821d6f278710909afe640f7a00d36b.zip |
Update README.md
-rw-r--r-- | part_1/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/part_1/README.md b/part_1/README.md index 60e356e..e6fd8a2 100644 --- a/part_1/README.md +++ b/part_1/README.md @@ -59,9 +59,9 @@ We typed the code for the 7-Segment Decoder in Quartus and created the module as ![7-Segment Decoder Verilog](https://github.com/ymherklotz/digital_verilog_coursework/blob/master/Extra/ex2/hex_to_7seg.PNG) -'''verilog +```verilog module hex_to_7seg (out, in); - + output [6:0] out; input [3:0] in; @@ -87,7 +87,7 @@ module hex_to_7seg (out, in); 4'hf: out = 7'b0001110; endcase endmodule -''' +``` Then we created a top level design file in Verilog as well. This process is much faster than doing everything using schematics as one can easily edit the file and change parameters easily as well. It is also much easier to get an overview of the project as complicated schematic files are very hard to read. The code for the top level design can be seen below. |