Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problem in this section, unless otherwise stated, when converting an HLSM to a controller and data path, derive the controller's FSM and only use

For problem in this section, unless otherwise stated, when converting an HLSM to a controller and data path, derive the controller's FSM and only use data path components from the data path component library of Figure 5.21. Use the RTL design process to create a 4-bit up-counter with input cnt (1 means count up), clear input clr, a terminal count output tc, and a 4-bit output Q indicating, the present count. Only use data path components from Figure 5.21. After deriving the controller's FSM implement the controller as a state register and combinational logic. Requiring a controller and data path pair:

(a) Desired behavior.

(b) HLSM description of desired behavior (LocStr means Local storage),

(c) Data path with potential to implement behavior, but requiring time-varying setting of the data path?s control signal values that should be set in each state to achieve behavior

Figure 5.21 A basic data path component library.

First clear Preg to Os Then increment Prog for each clock cycle that m is 1 CountHigh E (a) Preg HAP (c) CountHigh ? 000...000011 Preg_cir Preg_ld DP A B add1 S +32 cir I Id Prog > Q P 32 CountHigh Inputs: m (bit) Outputs: P (32 bits) LocStr. Preg (32 bits) (S_Cir) m' m' m (b) S_Wt m (S_Inc) //Clear Preg to Os Preg := 0 //Wait for m=='1' //increment Preg Preg:= Preg + 1 m CountHigh m' m' mo (d) //Preg := 0 S_Cir) Preg_clr 1 Preg_id = 0 //Wait for m=1 (S_Wt) Preg_clr=0 Preg_id = 0 m //Preg:-Preg+1 (S_Inc) Preg_clr-0 Preg_Id = 1 Controller 000...000011 Preg_cir Preg_ld DP A B add 1 S +32 clr I Id Preg P 32 clr I AB A B 11 10 ld reg add cmp | shift >1 $0=0: Q=10 30-1: Q-11

Step by Step Solution

There are 3 Steps involved in it

Step: 1

The HLSM of the system is as shown in the Figure 1 Inputs cntbitclr bit Outputs tcbit Local Regist... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Document Format ( 2 attachments)

PDF file Icon
6096b697e1242_27128.pdf

180 KBs PDF File

Word file Icon
6096b697e1242_27128.docx

120 KBs Word File

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistics Principles And Methods

Authors: Richard A. Johnson, Gouri K. Bhattacharyya

7th Edition

8126557745, 470904119, 978-0470904114

More Books

Students also viewed these Operating System questions

Question

Were multiple treatments used? Did they interfere with each other?

Answered: 1 week ago

Question

2. How might culture influence perceptions of fairness?

Answered: 1 week ago