Till KTH:s startsida Till KTH:s startsida

Ändringar mellan två versioner

Här visas ändringar i "Lab1 wiki (en)" mellan 2015-01-16 14:26 av William Sandqvist och 2015-01-16 14:52 av William Sandqvist.

Visa < föregående | nästa > ändring.

Lab1 Lab2 wiki (en)

Data sheet 7400-series

pdf 7400.pdf pdf 7402.pdf pdf 7408.pdf pdf 7432.pdf pdf 7474.pdf pdf 7486.pdf pdf 74175.pdf pdf 74283.pdf

Breadboard-simulator english.gif

pdf JavaBreadboardSimulator.pdf

zip JBBsim.zip ( we have changed the images to the european symbols )

jbblogo

Java Bread Board Official Site

A good tool to make preparation tasks, and to simulate the circuits before the labs, is Java Breadboard Simulator. You download the simulator as a ZIP file from the course web. In school, you unpack the ZIP file in your server folder under H:/, eg. H:/JBBsim ( or at home. In C:/JBBsim ), and start the simulator, by double-clicking the batch file go.bat who are among the unziped files.

If you want to avoid "computer problems"? The school's computer lab, with Windows PCs are suitable for use in this course. JBB-works there.

At home you first see to have Java on your computer, before you pack up your files (anywhere). JAVA can be run with most operating systems and some different appropriate command files to start the simulator is supplied.

java ( If necessary, download the Oracle JVM )

It seems that JBB is unable to run the java version 8, in that case, use Version 7 Update 7.1.

pdf JBBuserGuide

insideInside a breadboard there are contact groups that cover five vertical holes.The upper horizontal contact group is for + 6V power supply,and the lower contact is for ground (voltage source minus).

The logic gate truth tables(Before the lab Combinatorial circuits) NAND-grind 7400 Start with the menu item Insert Breadboard to get a breadboard to work with. You can download several breadboard after another if one breadboard would not be enough.

Then you obtain components. Download once with Insert - DIP Switches - Double and twice with Insert - LED - Green and once with Insert - LED - Red. The components end up in the wrong spot on the breadboard, but you can click and hold down and drag them right. Here we have used a convention to show input signals with green LEDs and output signals with red.

The circuit 7400 is retrieved with the command Chip - TTL - logic - Gen7400 - OK, and dragged with the mouse to the right place.

Red wire color is selected with command Wire - Red, as well as other colors. To begin to draw lines selected command Wire - Add Wires. At the starting point, left-click it, at the end point, double click. If you need to pull the lead angle, click on every bend. The upper row of holes is the supply voltage + 5V ("1"), and the lower is ground, 0V ("0"). We have used the convention to connect the supply voltage with red lines, and ground with black. Other wire colors are chosen so that the connections are clear.

7400gate1 7400simple

During the lab, you only have access to the DIP switches and LEDs. We then uses components that have the same characteristics as in this simulator. (The LEDs at the lab has Built-series resistance).ATTENTION! The simulator can only simulate digital signals. Special couplings that give rise to intermediate voltage values will therefore not be simulated correctly. (eg. series-connected LEDs).Making the connections as in the figure above, one can be sure that the simulations will be consistent with reality at lab.

Even "virtual" components The simulator also has components that do not correspond to reality, for example a simulated Hex Display that can be retrieved with the menu item Insert - Chip - Components - Hex Display. The advantage of the display is that it is simpler to interpret than just LEDs, even when, as here uses only the digits 0 ... 3.

7400test

The simulator has stop-pause-stepped-buttons that use generally accepted symbols (similar to those on a cassette recorder).

simulate

startsim Start the simulation, and then click the component Double Dip Switches to change the setting on/off so that you thus go through the four input combinations. Fill out the truth table.

gatetable

A still more convenient test circuit can be obtained by replacing the Double Dip Switches to HexKeyPad (menu command Insert - Chip - Components - HexKeyPad). If you then double-click on this simulated "component" it opens a keyboard, called a KeyPad. With this KeyPad you can comfortably enter the hexadecimal numbers 0 ... F. We use the numbers 0 ... 3. Please note! The lines in orange shows that even some of the yellow wires need to be changed for this connection.

key7400

They virtual components HexKeyPad and Hex Display are comfortable to use - but to prepare and document the actual lab connection it is the Dip Switches and LED that are applicable.

AND-gate 7408 Markera 7400-kretsen och ta bort den med delete-knappen. cut ( stoppa simuleringen först ).¶ Hämta kretsen Gen7408 med kHighlight 7400 circuit and remove it with the delete key. cut ( first stop the simulation ).¶

Download the circuit Gen7408 with the c
ommandot Chip - ttlTTL - logic - Gen7408 - OK. Upprepa simuleringen med denna kRepeat the simulation with this component ochand fyill i sanningsn the truth tabellen.

7408test 7408.gif

gatetable

OR-grindate 7432 UpprepaRepeat the sammae föor OR-grindenthe OR gate 7432.

7432test 7432.gif

gatetable

KCombinatorisk krets ( införal circuit(Before the lab KCombinatoriska kretsar al circuits) muxboardsim

Alla kopplingar som Du gör med den kombinatoriska kretsen vid laborationen kan Du simulera i förväg hemma connections you make with the combinational circuit at the lab, you can simulate in advance at home.

simmuxbig

Addition avof 8-bitstal eller 4-bitstal ( inför numbers or 4-bit number(Before the lab KCombinatoriska kretsar ) Vid laborationen har vi kretsen 74283 som är enal circuits) At the lab, we have the chip 74283 which is a 4-bits adderare. Den kretsen finns inte med till. The circuit is not included with the simulatorn, i nstället finns enead there is a "fantasikretsy circuit" - ean 8-bits adderare.

Man får därför välja mellan att "strypa ned" kretsen till 4 bitar, som visas i figuren nedan, eller simuleraOne must therefore choose between to "choke down" the circuit to 4 bits, as shown in the figure below, or simulate the addition avof 8-bitstal. Om numbers.If A3 ochand B3 båda ärare both "1" så får helthe full adderar steaget med A4 ochand B4 ingåenderecieves input carry "1" oavsett vad de tidigare ingångarnaregardless of what values the previous inputs ( CIN A0 B0 A1 B1 A2 B2 ) har för värden (de kan därför lämnas oanslutnas had (they can be left unconnected)! A3 ochand B3 kcan därför kopplas ihop som ingående carry CIN till en fyrthen be connected together as input-carry CIN to a "four bits adderare för talen" with inputs A7 A6 A5 A4 och B7 B6 B5 B4 och medand the summan S7 S6 S5 S4.

4bitadd

8-bits adderaren finns is found under menynthe Insert menu - Chip, därefterthen doubbelklicka på,le click on - cpu - jx_york_ac_uk - jJ1 -Adder8bit, och klicka påand then click OK.

4bitaddercircuitExeampel påle of a simulatorkop coupling föor 4-bits addition!

Låskrets med NOR-grindar ( inför lab Sekvenskretsar atch with NOR gates(Before the lab Sequence Circuits) 7428sr srtruthExeampel påles of simulatorkop coupling för att undersöka låskrets med NOR-grindar.¶ OBSERVERA! Vid simuleringen användto investigate the latch with NOR gates.¶

ATTENTION! In the simulation, use
7428 i nstället för 7402 som råkat få felaktig benkead of 7402 which has incorrect pin configuration in the simulatorn! - Båda kreoth circuits arna är i verkligheten lika, enda skillnaden är att 7428 är en (starkare) bufferkretse in reality the same, only difference is that 7428 is a (stronger) buffer circuit.

KClockaed D-vippa (inför lab Sekvenskretsar flip-flop(before the lab Sequence Circuits) d_toggle

Tips! SHint! The simulatorn har ens a specialk component, en ka clock pulse generator. KThe clock pulse generatorn finns located under menynthe Insert menu - Chip, därefterthen doubbelklicka på,le click - oOscillator - GenClk, och klicka på OK.¶ D-vipporna finnsand then click OK.¶

D flip-flops are
under menynthe Insert menu - Chip, därefterthen doubbelklicka på, - ttlle click - TTL - fFlip Flops - Gen7474, och klicka påand then click OK.

D_toggle_simExeampel på påbörjadle of a simulatorkop coupling. Alla D-vippans ingångar the D flip-flop inputs måuste anslutas till rätt logiknivåer!Ställ in SimSpeed så att lysdioderna blinkar med ungefär sekundfart. Lämplig Hastighetsinställning är beroende av din dators prestanda be connected to the correct logic levels!Set SimSpeed so that the LEDs flash at approximately sec speed.Appropriate speed setting depends on your computer's performance.

Gray-k code upp/ner-räknare ( inför lab Sekvenskretsar ) graycounter_simExempel på påbörja/down counter(Before the lab Sequence Circuits) graycounter_simUnfinished simulatorkop coupling föor Gray-kod-räknarenthe the Gray code counter.

Skhiftr Register-räknare ( inför lab Sekvenskretsar ) 74164.gif¶ prbsx¶ Vid simulering kan man använda kretsen 74164, tillsammans med e Counter(Before the lab Sequence Circuits) 74164.gif¶

prbsx¶

During simulation, you can use the existing simulator chip 74164, along with a
n extra EXOR-grind, som ersättning för 74175.¶ Kretsen 74175 ingår inte i gate, as compensation for the missing chip 74175.¶

The circuit 74175 is not included in the
simulatorn, däremot ingår några olikabut some different skhift registerkre circuits ar. Det man kan göra är att använda kretsen 74164 som är ette included. The thing to do is to use the circuit 74164, which is an 8-bitars skhift register. Man avstår då från de siUse the lasta fyra vippornaour flip-flops QE QF QG QH. See the figuren.

SkThe shift registret finnser can be found under menynthe Insert menu - Chip, därefterthen doubbelklicka på, - ttlle click - TTL - sShiftR registers - Gen74164, och klicka påand then click OK.

shiftreg_simKComponenter som behövs för att simulera de olikas needed to simulate the different skhift register-räknarna counters.