systemc project to implement a decoder_2by4 module#30
Open
Robert-Wabuti wants to merge 4 commits into
Open
Conversation
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
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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