File tree Expand file tree Collapse file tree 20 files changed +50
-6
lines changed
d_flip_flop_pos_edge_sync_en
d_flip_flop_pulse_triggered
jk_flip_flop_pos_edge_sync_clear
jk_flip_flop_pulse_triggered
combinational-logic/alus/jeff_74x181
docs/pics/combinational-logic
sequential-logic/memory/fifo_asynchronous Expand file tree Collapse file tree 20 files changed +50
-6
lines changed Original file line number Diff line number Diff line change 1
1
# MY VERILOG EXAMPLES
2
2
3
3
[ ![ Tag Latest] ( https://img.shields.io/github/v/tag/jeffdecola/my-verilog-examples )] ( https://github.com/JeffDeCola/my-verilog-examples/tags )
4
- [ ![ codeclimate Issue Count] ( https://codeclimate.com/github/JeffDeCola/my-verilog-examples/badges/issue_count.svg )] ( https://codeclimate.com/github/JeffDeCola/my-verilog-examples/issues )
5
- [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
6
4
[ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
5
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
7
6
8
7
_ A place to keep my synthesizable verilog examples._
9
8
@@ -34,7 +33,6 @@ Table of Contents
34
33
Documentation and Reference
35
34
36
35
* [ verilog] ( https://github.com/JeffDeCola/my-cheat-sheets/tree/master/hardware/development/languages/verilog-cheat-sheet )
37
- cheat sheet
38
36
* [ iverilog] ( https://github.com/JeffDeCola/my-cheat-sheets/tree/master/hardware/tools/simulation/iverilog-cheat-sheet )
39
37
is a free tool for simulation and synthesis
40
38
* [ GTKWave] ( https://github.com/JeffDeCola/my-cheat-sheets/tree/master/hardware/tools/simulation/gtkwave-cheat-sheet )
@@ -357,7 +355,7 @@ Where the testbench structure is,
357
355
* [ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor )
358
356
359
357
_ A programable 8-bit microprocessor. Originally designed in VHDL for part of
360
- [ my master's thesis] ( https://github.com/JeffDeCola/my_masters_thesis ) ._
358
+ [ my master's thesis] ( https://github.com/JeffDeCola/my-masters-thesis ) ._
361
359
362
360
* PIPELINES
363
361
Original file line number Diff line number Diff line change 1
1
# AND2 EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ 2-input AND gate used in my
4
7
[ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor ) ._
5
8
Original file line number Diff line number Diff line change 1
1
# NAND4 EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ 4-input NAND gate used in my
4
7
[ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor ) ._
5
8
Original file line number Diff line number Diff line change 1
1
# NOR2 EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ 2-input NOR gate used in my
4
7
[ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor ) ._
5
8
Original file line number Diff line number Diff line change 1
1
# NOT1 EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ NOT gate used in my
4
7
[ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor ) ._
5
8
Original file line number Diff line number Diff line change 1
1
# OR2 EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ 2-input OR gate used in my
4
7
[ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor ) ._
5
8
Original file line number Diff line number Diff line change 1
1
# XOR2 EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ 2-input XOR gate used in my
4
7
[ programable_8_bit_microprocessor] ( https://github.com/JeffDeCola/my-verilog-examples/tree/master/systems/microprocessors/programable_8_bit_microprocessor ) ._
5
8
Original file line number Diff line number Diff line change 1
1
# D FLIP-FLOP EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A d flip-flop which is ** pulse-triggered**
4
7
can save input data on output._
5
8
Original file line number Diff line number Diff line change 1
1
# D FLIP-FLOP POS EDGE SYNC EN EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A ** posedge-triggered** d flip-flop
4
7
with synchronous enable
5
8
used in my
Original file line number Diff line number Diff line change 1
1
# D FLIP-FLOP PULSE-TRIGGERED EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A pulse-triggered d flip-flop (cascading)
4
7
can save input data on output._
5
8
Original file line number Diff line number Diff line change 1
1
# JK FLIP-FLOP EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
``` text
4
7
THIS IS FOR EXAMPLE ONLY SINCE THIS HAS A RACE CONDITION
5
8
WHEN J =1 and K = 1.
Original file line number Diff line number Diff line change 1
1
# JK FLIP-FLOP POS EDGE SYNC CLEAR EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A ** posedge-triggered** jk flip-flop
4
7
with synchronous clear
5
8
used in my
Original file line number Diff line number Diff line change 1
1
# JK FLIP-FLOP PULSE-TRIGGERED EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A pulse-triggered jk flip-flop (cascading)
4
7
can be set, reset and toggled._
5
8
Original file line number Diff line number Diff line change 1
1
# SR FLIP-FLOP EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A sr (set ready) flip-flop which is ** pulse-triggered**
4
7
can be set and reset._
5
8
Original file line number Diff line number Diff line change 1
1
# SR LATCH EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
_ A sr (set ready) latch which is ** level-triggered**
4
7
that can be set and reset.
5
8
The latch forms the basic building block
Original file line number Diff line number Diff line change 1
1
# T FLIP-FLOP EXAMPLE
2
2
3
+ [ ![ jeffdecola.com] ( https://img.shields.io/badge/website-jeffdecola.com-blue )] ( https://jeffdecola.com )
4
+ [ ![ MIT License] ( https://img.shields.io/:license-mit-blue.svg )] ( https://jeffdecola.mit-license.org )
5
+
3
6
``` text
4
7
THIS IS FOR EXAMPLE ONLY SINCE THIS T FLIP-FLOP IT BUILT FROM
5
8
A JK FLIP-FLOP THAT HAS A RACE CONDITION WHEN J =1 and K = 1.
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ FPGA development board._
38
38
I designed this alu from the 1972 Texas Instruments spec sheet.
39
39
I love the care and thought put into this.
40
40
41
- ![ IMAGE - ti-74x181-schematic.jpg - IMAGE] ( ../../../docs/pics/combinational-logic/ti-74x181-schematic.jpg )
41
+ ![ IMAGE - ti-74x181-schematic.jpg - IMAGE] ( ../../../docs/pics/combinational-logic/ti-74x181-schematic.svg )
42
42
43
43
## TRUTH TABLE
44
44
Original file line number Diff line number Diff line change 1
- # FIFO SYNCHRONOUS EXAMPLE
1
+ # FIFO ASYNCHRONOUS EXAMPLE
2
2
3
3
_ An asynchronous fifo using dual-port asynchronous RAM._
4
4
You can’t perform that action at this time.
0 commit comments