Skip to content

systemc project to implement a decoder_2by4 module#30

Open
Robert-Wabuti wants to merge 4 commits into
Muriukidavid:masterfrom
Robert-Wabuti:master
Open

systemc project to implement a decoder_2by4 module#30
Robert-Wabuti wants to merge 4 commits into
Muriukidavid:masterfrom
Robert-Wabuti:master

Conversation

@Robert-Wabuti

Copy link
Copy Markdown

This is a systemc project that creates an abstract representation of a 2by4 decoder
A new directory named decoder2by4 was created and the necessary .h and .cc files were added.
The file, decoder_2by4.cc contains the main method of the decoder.
The header files contain the implementation of the modules corresponding with the file names.
And gate modules were used inside the decoder_2by4 module to get a correct output.
The decoder_1by2 was used as the basis for the construction of the 2by4 decoder.
Two 1by2 decoders were used along with the AND gates to make the 2by4 decoder.
An inverting NOT gate was added to the circuit
The driver.h contains implementation of a module that was improved to drive 2 output signals
The monitor.h file contains implementation of the monitor that was built to take 6 inputs instead of three.
Two inputs are from the driver output while the other four are from the decoder_2by4 output

This is a systemc project that creates an abstract representation of a 2by4 decoder
A new directory named decoder2by4 was created and the necessary .h and .cc files were added.
The file, decoder_2by4.cc contains the main method of the decoder.
The header files contain the implementation of the modules corresponding with the file names.
And gate modules were used inside the decoder_2by4 module to get a correct output.
The decoder_1by2 was used as the basis for the construction of the 2by4 decoder. 
Two 1by2 decoders were used along with the AND gates to make the 2by4 decoder.
An inverting NOT gate was added to the circuit
The driver.h contains implementation of a module that was improved to drive 2 output signals
The monitor.h file contains implementation of the monitor that was built to take 6 inputs instead of three.
Two inputs are from the driver output while the other four are from the decoder_2by4 output
A new project to implement a flipflop is ceated.
    The base code was cloned from the repository on github.
    New files such as NOT.cc and NOT.h were added to the project.
    dff.h was edited to implement the flipflop by adding NAND gate and the NOT gate modules to it as well as making the connections between them.
    Currently, the trace file data is presented on the terminal window and does not open on GTKwave. This will be fixed in the next commit.
    The makefile was also changed to include the new created files as well as exclude the prerequisite that installs gtkwave on the computer running the program
Made changes to the makefile and improved code readability in some files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant