Project Step 7. Behavioral modeling of a dual ported register set. 1/8/ L11 Project Step 5 Copyright Joanne DeGroat, ECE, OSU 1

Relaterede dokumenter
DET KONGELIGE BIBLIOTEK NATIONALBIBLIOTEK OG KØBENHAVNS UNIVERSITETS- BIBLIOTEK. Index

Vina Nguyen HSSP July 13, 2008

ECE 551: Digital System * Design & Synthesis Lecture Set 5

Basic statistics for experimental medical researchers

PARALLELIZATION OF ATTILA SIMULATOR WITH OPENMP MIGUEL ÁNGEL MARTÍNEZ DEL AMOR MINIPROJECT OF TDT24 NTNU

Privat-, statslig- eller regional institution m.v. Andet Added Bekaempelsesudfoerende: string No Label: Bekæmpelsesudførende

Black Jack --- Review. Spring 2012

LESSON NOTES Extensive Reading in Danish for Intermediate Learners #8 How to Interview

Vores mange brugere på musskema.dk er rigtig gode til at komme med kvalificerede ønsker og behov.

Det er muligt at chekce følgende opg. i CodeJudge: og

IBM Network Station Manager. esuite 1.5 / NSM Integration. IBM Network Computer Division. tdc - 02/08/99 lotusnsm.prz Page 1

Fejlbeskeder i SMDB. Business Rules Fejlbesked Kommentar. Validate Business Rules. Request- ValidateRequestRegist ration (Rules :1)

Business Rules Fejlbesked Kommentar

Brug sømbrættet til at lave sjove figurer. Lav fx: Få de andre til at gætte, hvad du har lavet. Use the nail board to make funny shapes.

Fejlbeskeder i Stofmisbrugsdatabasen (SMDB)

CHAPTER 8: USING OBJECTS

Linear Programming ١ C H A P T E R 2

Appendix 1: Interview guide Maria og Kristian Lundgaard-Karlshøj, Ausumgaard

Engelsk. Niveau D. De Merkantile Erhvervsuddannelser September Casebaseret eksamen. og

DANSK INSTALLATIONSVEJLEDNING VLMT500 ADVARSEL!

Portal Registration. Check Junk Mail for activation . 1 Click the hyperlink to take you back to the portal to confirm your registration

Trolling Master Bornholm 2013

The X Factor. Målgruppe. Læringsmål. Introduktion til læreren klasse & ungdomsuddannelser Engelskundervisningen

Trolling Master Bornholm 2015

Danish Language Course for International University Students Copenhagen, 12 July 1 August Application form

Titel: Barry s Bespoke Bakery

Danish Language Course for Foreign University Students Copenhagen, 13 July 2 August 2016 Advanced, medium and beginner s level.

RoE timestamp and presentation time in past

ArbejsskadeAnmeldelse

GUIDE TIL BREVSKRIVNING

MultiProgrammer Manual

Bemærk, der er tale om ældre versioner af softwaren, men fremgangsmåden er uændret.

Tema: Pets Fag: Engelsk Målgruppe: 4. klasse Titel: Me and my pet Vejledning Lærer

Engelsk. Niveau C. De Merkantile Erhvervsuddannelser September Casebaseret eksamen. og

User Manual for LTC IGNOU

Shooting tethered med Canon EOS-D i Capture One Pro. Shooting tethered i Capture One Pro 6.4 & 7.0 på MAC OS-X & 10.8

Trolling Master Bornholm 2013

Den nye Eurocode EC Geotenikerdagen Morten S. Rasmussen

Titel: Hungry - Fedtbjerget

Hvor er mine runde hjørner?

Trolling Master Bornholm 2016 Nyhedsbrev nr. 5

How Long Is an Hour? Family Note HOME LINK 8 2

Trolling Master Bornholm 2015

Skriftlig Eksamen Diskret matematik med anvendelser (DM72)

Resource types R 1 1, R 2 2,..., R m CPU cycles, memory space, files, I/O devices Each resource type R i has W i instances.

Bilag. Resume. Side 1 af 12

Åbenrå Orienteringsklub

Agenda. The need to embrace our complex health care system and learning to do so. Christian von Plessen Contributors to healthcare services in Denmark

On the complexity of drawing trees nicely: corrigendum

1 What is the connection between Lee Harvey Oswald and Russia? Write down three facts from his file.

Udbud på engelsk i UCL. Skabelon til beskrivelse

Læs venligst Beboer information om projekt vandskade - sikring i 2015/2016

United Nations Secretariat Procurement Division

Nyhedsmail, december 2013 (scroll down for English version)

how to save excel as pdf

Generalized Probit Model in Design of Dose Finding Experiments. Yuehui Wu Valerii V. Fedorov RSU, GlaxoSmithKline, US

Trolling Master Bornholm 2016 Nyhedsbrev nr. 8

Læs vejledningen godt igennem, før du begynder at samle vuggen. Please read the instruction carefully before you start.

E-PAD Bluetooth hængelås E-PAD Bluetooth padlock E-PAD Bluetooth Vorhängeschloss

Aktivering af Survey funktionalitet

Quality indicators for clinical pharmacy services

Skriftlig Eksamen Kombinatorik, Sandsynlighed og Randomiserede Algoritmer (DM528)

Skriftlig Eksamen Beregnelighed (DM517)

The complete construction for copying a segment, AB, is shown above. Describe each stage of the process.

Info og krav til grupper med motorkøjetøjer

Barnets navn: Børnehave: Kommune: Barnets modersmål (kan være mere end et)

Speciale. Evaluering af Java til udvikling af indlejrede realtidssystemer ved brug af en eksisterende Java Optimized Processor (JOP)

Trolling Master Bornholm 2016 Nyhedsbrev nr. 6

Terese B. Thomsen 1.semester Formidling, projektarbejde og webdesign ITU DMD d. 02/

frame bracket Ford & Dodge

StarWars-videointro. Start din video på den nørdede måde! Version: August 2012

ROTERENDE TABURET 360 GRADER MED HYL Brugsanvisning. ROTATING SHOWER STOOL WITH TRAY Installation Manual. Size: 148 x 210 mm 105g copper paper

Dean's Challenge 16.november 2016

Podia samlevejledning

Timetable will be aviable after sep. 5. when the sing up ends. Provicius timetable on the next sites.

Engineering of Chemical Register Machines

Page 2: Danish. Page 4: English

Evaluating Germplasm for Resistance to Reniform Nematode. D. B. Weaver and K. S. Lawrence Auburn University

Trolling Master Bornholm 2013

Sport for the elderly

The River Underground, Additional Work

INGEN HASTVÆRK! NO RUSH!

Montage bjælkeklipper BM 5001R Art. No Assembly scythe mower BM 5001R Art. No

UNISONIC TECHNOLOGIES CO.,

The EAL Jobportal. How to get started

Freefly B-Række Regler

November hilsner fra NORDJYSKE Medier, Distributionen

Choosing a Medicare prescription drug plan.

Boligsøgning / Search for accommodation!

Financial Literacy among 5-7 years old children

Constant Terminal Voltage. Industry Workshop 1 st November 2013

- man sov tæt på belægningsstuerne

Trolling Master Bornholm 2016 Nyhedsbrev nr. 3

X M Y. What is mediation? Mediation analysis an introduction. Definition

18 stamtoner, version 1.0

MEDLEY CHALLENGE 2016/2017

Special VFR. - ved flyvning til mindre flyveplads uden tårnkontrol som ligger indenfor en kontrolzone

Klimaformidling Odense

Userguide. NN Markedsdata. for. Microsoft Dynamics CRM v. 1.0

Subject to terms and conditions. WEEK Type Price EUR WEEK Type Price EUR WEEK Type Price EUR WEEK Type Price EUR

Transkript:

Project Step 7 Behavioral modeling of a dual ported register set. Copyright 2006 - Joanne DeGroat, ECE, OSU 1

The register set Register set specifications 16 dual ported registers each with 16- bit words Control signals for each bus Register Number Load Strobe Drive Strobe Registers know nothing about time A BUS AregNo Aload Adrive Reg 0 Reg 1 Reg 2 Reg 15 BregNo Bload Bdrive BBUS Note: AregNo,BregNo are type Integer Copyright 2006 - Joanne DeGroat, ECE, OSU 2

Dual ported registers Very common in today s architectures Capable of being written and/or loaded from the busses simulteanously Possible Operations in a cycle Load the Abus value into register n, the Bbus value into rejester o, where n does not equal o Load a register from one bus and drive a different register on to the other Drive both busses from different registers Copyright 2006 - Joanne DeGroat, ECE, OSU 3

Each bus The type of the bus will be std_logic_vector which is a resolved type. It will have two drivers The testbench is a driver of the bus. The register set is a driver of the bus. Original contents of the registers is UU U Must set the bus to ZZ ZZ so that values can be transferred Copyright 2006 - Joanne DeGroat, ECE, OSU 4

To get the bus to Z To get the bus to high impediance, Z, all the drivers of the bus must go to high impedance. Testbench starts out during initialization by assigning values of Z to the bus. These transactions get post to the current value of the testbench driver of the buses at 0 +1 delta. The register set code must also set its driver to Z so values can be loaded. Copyright 2006 - Joanne DeGroat, ECE, OSU 5

The testbench driver At time 0 driver of the bus starts out U, unresolved, the default initialization value. At time 0 the process that runs the bus begins execution. First steps in this process are to assign high impedance to the busses and initialize the control signals. It then calls a procedure which suspends until 9 ns. This will allow update at 0+1delta of the busses Copyright 2006 - Joanne DeGroat, ECE, OSU 6

The key to this project Must write VHDL code to model the register set. Note that the registers are 16 bits. Best done in a process. Array of bit vectors can be a variable array declared in the process. May need a type definition 1 st and then declaration of variable. Remember that processes with a sensitivity list run once through and then hold for an event on the signals they monitor. They also run once through at time 0 Copyright 2006 - Joanne DeGroat, ECE, OSU 7

Structure of processes What goes in the sensitivity list The control signals? The bus signals? The process needs to have code that sets its bus outputs at time 0 to Z (even if it happens a delta later) How to do this? Value to drive bus to at all times Either drive a value from a register Or drive high impedance At 0 + 1 delta there will be an event on the control signals They start out as U as they are type std_logic Have an event to 1 Copyright 2006 - Joanne DeGroat, ECE, OSU 8

Bus timing Note timing of control signals LOAD - Transfer Data from Bus to Register load DATA 0 10 70 80 100 Drive - Transfer contents of Register to Bus drive DATA Data latched on positive edge of load 0 10 70 80 100 Copyright 2006 - Joanne DeGroat, ECE, OSU 9

Some useful info Remember that the following BOOLEAN conditions check for: Level Sensitive: Signal Low IF (the_sig = 0 ) THEN -- valid for BIT or STD_LOGIC Signal High IF (the_sig = 1 ) THEN Signal Low IF (the_sig = 0 OR the_sig = L ) -- for STD_LOGIC Signal High IF (the_sig = 1 OR the_sig = H ) Edge Sensitive Tests (for TYPE BIT or STD_LOGIC) High to Low IF (the_sig = 0 AND the_sig event) THEN Low to High IF (the_sig = 1 AND the_sig event) THEN Edge Sensitive Test for STD_LOGIC that is complete High to Low IF ((the_sig LAST_VALUE = 1 OR the_sig LAST_VALUE = H ) AND (the_sig = 0 OR the_sig = l ) AND the_sig EVENT) THEN Low to High IF ((the_sig LAST_VALUE = 0 OR the_sig LAST_VALUE = L ) AND (the_sig = 1 OR the_sig = H ) AND the_sig EVENT) THEN Copyright 2006 - Joanne DeGroat, ECE, OSU 10

Other useful information If you don t make sure the register driver gets set to Z then you will just load U s to start and probably stay there. The registers themselves know nothing about time. All they understand of the world is that they have control signals that tell them when to load a value or when to drive a value. The registers themselves do nothing to check about a conflict in register number access. They just know the control signals. The unit that generates the control signals is the responsible party. Copyright 2006 - Joanne DeGroat, ECE, OSU 11