Skip to content

Youssof xor3 xor2 led select - #18

Open
YoussofEldeeb wants to merge 11 commits into
mainfrom
Youssof_xor3-xor2-led-select
Open

Youssof xor3 xor2 led select#18
YoussofEldeeb wants to merge 11 commits into
mainfrom
Youssof_xor3-xor2-led-select

Conversation

@YoussofEldeeb

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread Project Code Framework/Actions/AddXORgate3.cpp Outdated
Comment on lines +2 to +6
#include "../Components/Gate.h"

class LED :

public Gate {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Led should be inherited from Component class, not Gate, right?
as "a LED is a component with one input pin and no output pins" the project description says.

#include "LED.h"

/* Constructor */
LED::LED(const GraphicsInfo &r_GfxInfo, int r_FanOut):Gate(2, r_FanOut)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Led should be inherited from Component class, not Gate, right?
as "a LED is a component with one input pin and no output pins" the project description says.

Comment thread Project Code Framework/Components/XNOR2.cpp Outdated
Comment thread Project Code Framework/Components/XOR3.cpp Outdated
Comment thread Project Code Framework/Components/XOR3.h Outdated
Comment thread Project Code Framework/Components/XOR3.h Outdated
YoussofEldeeb and others added 5 commits January 3, 2021 15:05
Co-authored-by: Khalidmamdou7 <37771185+Khalidmamdou7@users.noreply.github.com>
Co-authored-by: Khalidmamdou7 <37771185+Khalidmamdou7@users.noreply.github.com>
Co-authored-by: Khalidmamdou7 <37771185+Khalidmamdou7@users.noreply.github.com>
Co-authored-by: Khalidmamdou7 <37771185+Khalidmamdou7@users.noreply.github.com>
Co-authored-by: Khalidmamdou7 <37771185+Khalidmamdou7@users.noreply.github.com>
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.

2 participants