Difference: CSLogicActivity (1 vs. 7)

Revision 72019-04-12 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSS2019"

Digital Logic Lab - Using CircuitVerse to simulate digital circuits

Due March 21, 11:55pm
Line: 74 to 74
  Save each of your curcuits, and turn in a link to each on moodle.
Added:
>
>
Solution
 
META FILEATTACHMENT attachment="8Seg1.png" attr="" comment="" date="1550159664" name="8Seg1.png" path="8Seg1.png" size="25280" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-14_at_10.59.21_AM.png" attr="" comment="" date="1550159981" name="Screen_Shot_2019-02-14_at_10.59.21_AM.png" path="Screen_Shot_2019-02-14_at_10.59.21_AM.png" size="27409" user="JimSkon" version="1"
META FILEATTACHMENT attachment="220px-7_segment_display_labeled.svg_1.png" attr="" comment="" date="1550160088" name="220px-7_segment_display_labeled.svg_1.png" path="220px-7_segment_display_labeled.svg_1.png" size="8165" user="JimSkon" version="1"

Revision 62019-02-25 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSS2019"

Digital Logic Lab - Using CircuitVerse to simulate digital circuits

Changed:
<
<
Due March 19, 11:55pm
>
>
Due March 21, 11:55pm
 
Moodle


In this lab you will learn the how to use digital logic gate to solve a problem.

Revision 52019-02-19 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSS2019"
Changed:
<
<

Digital Logic Lab - Using circuitverse to simulate digital circuits

>
>

Digital Logic Lab - Using CircuitVerse to simulate digital circuits

 
Due March 19, 11:55pm
Moodle

Revision 42019-02-17 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSS2019"
Changed:
<
<

Lab - Using circuitverse to simulate digital circuits

>
>

Digital Logic Lab - Using circuitverse to simulate digital circuits

Due March 19, 11:55pm
Moodle
 
Changed:
<
<

In this lab you will learn the basics of Logisim.
>
>

In this lab you will learn the how to use digital logic gate to solve a problem.
 

Documents

Step 1:

Changed:
<
<
Review the CircuitVerse Tutorial Above. You are to complete the tutorial up to the "Modifying Circuit Elements" section. Follow each step and try it for yourself.

Step 2:

>
>
Review the CircuitVerse Tutorial Above. Create an account using your Kenyon email address.

Step 2:

  Consider the following block diagram for a seven segment display:
Line: 20 to 22
  0 -> a, d, e
1 -> b, c, f, g
Changed:
<
<

Create a test circuit with a 7-segment LED display. and make it display a 4 using this (crude) method. Copy and paste a picture of the circuit into your lab report.
>
>

Create a test circuit with a 7-segment LED display. and make it display a 4 using this (crude) method.
 

Step 3:

Consider the block diagram of the "BCD to 7 Segment Decoder". This is a circuit that takes binary values from 0 to 9, and sends the right signals to the Display to show the right number.

Line: 67 to 69
 

Step 5:

Changed:
<
<
Now make a truth table, and a circuit for each of the other 6 segments. Turn each of these into a template. The inputs should all be connect to the same four inputs. Test out the circuit on all 10 values. Clip the circuit and paste into your Lab Report. Try to keep you circuits orderly and easy to read. |
>
>
Now make a truth table, and a circuit for each of the other 6 segments. Turn each of these into a template. The inputs should all be connect to the same four inputs. Test out the circuit on all 10 values. Clip the circuit and paste into your Lab Report. Try to keep you circuits orderly and easy to read.

Step 6:

Save each of your curcuits, and turn in a link to each on moodle.

 
META FILEATTACHMENT attachment="8Seg1.png" attr="" comment="" date="1550159664" name="8Seg1.png" path="8Seg1.png" size="25280" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-14_at_10.59.21_AM.png" attr="" comment="" date="1550159981" name="Screen_Shot_2019-02-14_at_10.59.21_AM.png" path="Screen_Shot_2019-02-14_at_10.59.21_AM.png" size="27409" user="JimSkon" version="1"

Revision 32019-02-16 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSS2019"

Lab - Using circuitverse to simulate digital circuits

Line: 59 to 59
  Screen_Shot_2019-02-15_at_10.41.20_AM.png
Changed:
<
<
These four circuits can be combined into a larger curcuits by ORing the results!
eSegmentcomplete.png
>
>
Create a new circuit called "Segment E". These four circuits can be copied in and combined into the new circuit by ORing the results!
Screen_Shot_2019-02-16_at_5.45.41_PM.png
 
Changed:
<
<
Thus the circuit above can be connected to the appropriate segment.
eSegmentDisplayLED.png

Create and test this circuit.

Step 5:

Read from the tutorial PDF the "Designing a sub circuit" section. Take the step for circuit and create a Macro for it. Then use it to control the 7-Segment display. Below is a new circuit that does exactly what the circuit above does.

>
>
New your can start yet another circuit, called BCDto7Segment, and then bring in the previous circuit with the "new subcircuit" command. This brings in the circuit as a box that you can use. This can then be connected to the appropriate segment.

Screen_Shot_2019-02-16_at_5.52.53_PM.png
 
Changed:
<
<
eSegmentSubcircuit.png
eSegmentSubcircuit.circ: eSegmentSubcircuit.circ

Step 6:

>
>
Create and test this circuit.

Step 5:

  Now make a truth table, and a circuit for each of the other 6 segments. Turn each of these into a template. The inputs should all be connect to the same four inputs. Test out the circuit on all 10 values. Clip the circuit and paste into your Lab Report. Try to keep you circuits orderly and easy to read. |
Deleted:
<
<
  • Screen_Shot_2019-02-15_at_10.41.20_AM.png:
 
META FILEATTACHMENT attachment="8Seg1.png" attr="" comment="" date="1550159664" name="8Seg1.png" path="8Seg1.png" size="25280" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-14_at_10.59.21_AM.png" attr="" comment="" date="1550159981" name="Screen_Shot_2019-02-14_at_10.59.21_AM.png" path="Screen_Shot_2019-02-14_at_10.59.21_AM.png" size="27409" user="JimSkon" version="1"
META FILEATTACHMENT attachment="220px-7_segment_display_labeled.svg_1.png" attr="" comment="" date="1550160088" name="220px-7_segment_display_labeled.svg_1.png" path="220px-7_segment_display_labeled.svg_1.png" size="8165" user="JimSkon" version="1"
META FILEATTACHMENT attachment="2_18_6_3_eng.png" attr="" comment="" date="1550160396" name="2_18_6_3_eng.png" path="2_18_6_3_eng.png" size="1851" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-15_at_10.41.20_AM.png" attr="" comment="" date="1550245318" name="Screen_Shot_2019-02-15_at_10.41.20_AM.png" path="Screen_Shot_2019-02-15_at_10.41.20_AM.png" size="23782" user="JimSkon" version="1"
Added:
>
>
META FILEATTACHMENT attachment="Screen_Shot_2019-02-16_at_5.45.41_PM.png" attr="" comment="" date="1550357186" name="Screen_Shot_2019-02-16_at_5.45.41_PM.png" path="Screen_Shot_2019-02-16_at_5.45.41_PM.png" size="33644" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-16_at_5.52.53_PM.png" attr="" comment="" date="1550357797" name="Screen_Shot_2019-02-16_at_5.52.53_PM.png" path="Screen_Shot_2019-02-16_at_5.52.53_PM.png" size="11309" user="JimSkon" version="1"

Revision 22019-02-15 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSS2019"

Lab - Using circuitverse to simulate digital circuits

Line: 27 to 27
  2_18_6_3_eng.png

BCD stands for "Binary Coded Decimal".

Below is a incomplete truth table showing the decimal number, the binary version of the decimal number, ABCD, the corresponding inputs to the decoder, and abcdefg, the outputs needed by the decoder to light the LED correctly. It only shows the proper outputs for an input of 0, and it also shows the column for how each number affects segment e.
Changed:
<
<
Decimal # Binary A B C D a b c d e f g
0 0000 0 0 0 0 1 1 1 1 1 1 0
1 0001 0 0 0 1 0
2 0010 0 0 1 0 1
3 0011 0 0 1 1 0
4 0100 0 1 0 0 0
5 0101 0 1 0 1 0
6 0110 0 1 1 0 1
7 0111 0 1 1 1 0
8 1000 1 0 0 0 1
9 1001 1 0 0 1 0

Notice that the 0 inputs turns on all the segments BUT "g", which is the center segment and must be off.

Also look down the "e" column. This shows all the times the "e" segment must be turned on, e.g. for 0, 2, 6, 8 only.

Fill in the rest of the table in your lab report.

Step 4:

>
>
Decimal # Binary A B C D a b c d e f g
0 0000 0 0 0 0 1 1 1 1 1 1 0
1 0001 0 0 0 1         0    
2 0010 0 0 1 0         1    
3 0011 0 0 1 1         0    
4 0100 0 1 0 0         0    
5 0101 0 1 0 1         0    
6 0110 0 1 1 0         1    
7 0111 0 1 1 1         0    
8 1000 1 0 0 0         1    
9 1001 1 0 0 1         0    

Step 4:

Notice that the 0 inputs turns on all the segments BUT "g", which is the center segment and must be off.

Also look down the "e" column. This shows all the times the "e" segment must be turned on, e.g. for 0, 2, 6, 8 only.

Fill in the rest of the table in your lab report.

  Now consider a truth table constructed for only the "e" segment:
Deleted:
<
<
A B C D e
segment
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 1
1 0 0 1 0
*
 
Changed:
<
<

Now consider a circuit to implement the truth table above. Look in the table and see that the a segment is "1" in three cases, when ABCD is 0000, 0010, 0110, and 1000. We can thus create 4 small curcuits for each of these cases:
>
>
A B C D e
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 1
1 0 0 1 0
*
Now consider a circuit to implement the truth table above. Look in the table and see that the a segment is "1" in four (4) cases, when ABCD is 0000, 0010, 0110, and 1000. We can thus create 4 small curcuits for each of these cases:
 
Changed:
<
<
eSegmentIndividual.png
>
>
Screen_Shot_2019-02-15_at_10.41.20_AM.png
  These four circuits can be combined into a larger curcuits by ORing the results!
eSegmentcomplete.png
Deleted:
<
<
 Thus the circuit above can be connected to the appropriate segment.
eSegmentDisplayLED.png

Create and test this circuit.

Line: 51 to 71
 eSegmentSubcircuit.png
eSegmentSubcircuit.circ: eSegmentSubcircuit.circ

Step 6:

Changed:
<
<
Now make a truth table, and a circuit for each of the other 6 segments. Turn each of these into a template. The inputs should all be connect to the same four inputs. Test out the circuit on all 10 values. Clip the circuit and paste into your Lab Report. Try to keep you circuits orderly and easy to read.
>
>
Now make a truth table, and a circuit for each of the other 6 segments. Turn each of these into a template. The inputs should all be connect to the same four inputs. Test out the circuit on all 10 values. Clip the circuit and paste into your Lab Report. Try to keep you circuits orderly and easy to read. |

  • Screen_Shot_2019-02-15_at_10.41.20_AM.png:
 
META FILEATTACHMENT attachment="8Seg1.png" attr="" comment="" date="1550159664" name="8Seg1.png" path="8Seg1.png" size="25280" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-14_at_10.59.21_AM.png" attr="" comment="" date="1550159981" name="Screen_Shot_2019-02-14_at_10.59.21_AM.png" path="Screen_Shot_2019-02-14_at_10.59.21_AM.png" size="27409" user="JimSkon" version="1"
META FILEATTACHMENT attachment="220px-7_segment_display_labeled.svg_1.png" attr="" comment="" date="1550160088" name="220px-7_segment_display_labeled.svg_1.png" path="220px-7_segment_display_labeled.svg_1.png" size="8165" user="JimSkon" version="1"
META FILEATTACHMENT attachment="2_18_6_3_eng.png" attr="" comment="" date="1550160396" name="2_18_6_3_eng.png" path="2_18_6_3_eng.png" size="1851" user="JimSkon" version="1"
Added:
>
>
META FILEATTACHMENT attachment="Screen_Shot_2019-02-15_at_10.41.20_AM.png" attr="" comment="" date="1550245318" name="Screen_Shot_2019-02-15_at_10.41.20_AM.png" path="Screen_Shot_2019-02-15_at_10.41.20_AM.png" size="23782" user="JimSkon" version="1"

Revision 12019-02-14 - JimSkon

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="IntroToCSS2019"

Lab - Using circuitverse to simulate digital circuits


In this lab you will learn the basics of Logisim.

Documents

Step 1:

Review the CircuitVerse Tutorial Above. You are to complete the tutorial up to the "Modifying Circuit Elements" section. Follow each step and try it for yourself.

Step 2:

Consider the following block diagram for a seven segment display:

Screen_Shot_2019-02-14_at_10.59.21_AM.png220px-7_segment_display_labeled.svg_1.png

Note that there are 7 inputs to the 7-segment LED display. A one (1) on any input line lights the matching segment. A zero (0) input turns the segment off.

Thus a "4" can be displayed by putting the following values into the 7-Segment LED display inputs:

0 -> a, d, e
1 -> b, c, f, g


Create a test circuit with a 7-segment LED display. and make it display a 4 using this (crude) method. Copy and paste a picture of the circuit into your lab report.

Step 3:

Consider the block diagram of the "BCD to 7 Segment Decoder". This is a circuit that takes binary values from 0 to 9, and sends the right signals to the Display to show the right number.

2_18_6_3_eng.png

BCD stands for "Binary Coded Decimal".

Below is a incomplete truth table showing the decimal number, the binary version of the decimal number, ABCD, the corresponding inputs to the decoder, and abcdefg, the outputs needed by the decoder to light the LED correctly. It only shows the proper outputs for an input of 0, and it also shows the column for how each number affects segment e.

Decimal # Binary A B C D a b c d e f g
0 0000 0 0 0 0 1 1 1 1 1 1 0
1 0001 0 0 0 1 0
2 0010 0 0 1 0 1
3 0011 0 0 1 1 0
4 0100 0 1 0 0 0
5 0101 0 1 0 1 0
6 0110 0 1 1 0 1
7 0111 0 1 1 1 0
8 1000 1 0 0 0 1
9 1001 1 0 0 1 0

Notice that the 0 inputs turns on all the segments BUT "g", which is the center segment and must be off.

Also look down the "e" column. This shows all the times the "e" segment must be turned on, e.g. for 0, 2, 6, 8 only.

Fill in the rest of the table in your lab report.

Step 4:

Now consider a truth table constructed for only the "e" segment:

A B C D e
segment
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 1
1 0 0 1 0
*


Now consider a circuit to implement the truth table above. Look in the table and see that the a segment is "1" in three cases, when ABCD is 0000, 0010, 0110, and 1000. We can thus create 4 small curcuits for each of these cases:

eSegmentIndividual.png

These four circuits can be combined into a larger curcuits by ORing the results!
eSegmentcomplete.png

Thus the circuit above can be connected to the appropriate segment.
eSegmentDisplayLED.png

Create and test this circuit.

Step 5:

Read from the tutorial PDF the "Designing a sub circuit" section. Take the step for circuit and create a Macro for it. Then use it to control the 7-Segment display. Below is a new circuit that does exactly what the circuit above does.

eSegmentSubcircuit.png
eSegmentSubcircuit.circ: eSegmentSubcircuit.circ

Step 6:

Now make a truth table, and a circuit for each of the other 6 segments. Turn each of these into a template. The inputs should all be connect to the same four inputs. Test out the circuit on all 10 values. Clip the circuit and paste into your Lab Report. Try to keep you circuits orderly and easy to read.

META FILEATTACHMENT attachment="8Seg1.png" attr="" comment="" date="1550159664" name="8Seg1.png" path="8Seg1.png" size="25280" user="JimSkon" version="1"
META FILEATTACHMENT attachment="Screen_Shot_2019-02-14_at_10.59.21_AM.png" attr="" comment="" date="1550159981" name="Screen_Shot_2019-02-14_at_10.59.21_AM.png" path="Screen_Shot_2019-02-14_at_10.59.21_AM.png" size="27409" user="JimSkon" version="1"
META FILEATTACHMENT attachment="220px-7_segment_display_labeled.svg_1.png" attr="" comment="" date="1550160088" name="220px-7_segment_display_labeled.svg_1.png" path="220px-7_segment_display_labeled.svg_1.png" size="8165" user="JimSkon" version="1"
META FILEATTACHMENT attachment="2_18_6_3_eng.png" attr="" comment="" date="1550160396" name="2_18_6_3_eng.png" path="2_18_6_3_eng.png" size="1851" user="JimSkon" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback