GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Problem 5.03) FSM Write a finite state machine System Verilo…

Problem 5.03) FSM Write a finite state machine System Verilog module named FSM. Finite State Machines are not parameterized, because the number of states is set by the problem. Use the state transition table below (which contains the same information as a state diagram). You only need this state transition table to build the FSM.  Remember Z is purely combinatorial. Do not use an enumerated type for this problem (if you don’t know what that is, you shouldn’t worry about it). Use a localparam to do a state assignment and then use the names in your code rather than numbers. Use a standard Finite state machine design organized in parts  a, b, c, … below. Inputs must be x, reset, clk, and outputs must be State, and Z. This should be done by instantiation of register you have already designed in a previous problem (the D Register) and instantiation of MUX41 described below. Be sure to instantiate one MUX instance both for determining the next state and in another instance to determine the output Z. module MUX41 #(parameter S=6) (input [S-1:] A, B, C, D, input [1:0] Sel, output logic [S-1:0] Y); … endmodule Don’t complete this MUX just instantiate it, you will not get extra credit for completing the MUX. For maximum credit your code should carefully follow the specification, and your grade will depend that. Use the minimum number of lines to accomplish this specification, and be succinct and well organized. Also use proper indentation for organization. If you duplicate the function of instances in procedural code it will be counted incorrect. Use System Verilog, always_ff, and always_comb, and don’t use reg datatype. (hint: see cheat sheet) Declare all variables, avoid errors or warnings that would occur during compilation, simulation or synthesis. Indent all blocks for full credit. Your code should be efficient and succinct. Don’t use compiler directives or short cuts. next_state output Z State x=0 x=1 x=0 x=1 S0 S1 S0 00 10 S1 S1 S2 10 01 S2 S3 S0 01 10 S3 S1 S2 11 00 For full credit label each part of your solution parts a, b, c, d, e, a. What Finite State Machine model are you using in this problem?   b. Module statement and declarations and localparam   c. Synchronous part using registers (in my solution this is 1 line)   d. Combinatorial part using mux from previous problem (in my solution this is 2 lines) to determine the next state,   e. Combinatorial part using mux to determine the output Z.   for full credit follow all directions

Read Details

A university testing center develops a new “Career Readiness…

A university testing center develops a new “Career Readiness Exam” designed to measure students’ soft skills before graduation. To test the exam’s quality, they administer it to the same group of fifty seniors on two different days: once on Monday morning and again on Friday afternoon. The researcher finds that each student’s score on Monday is nearly identical to their score on Friday. This consistent result, regardless of the time or day the test was taken, means that the Career Readiness Exam has high ____ as a measure of soft skills.

Read Details

When researchers ask respondents to report how many hours pe…

When researchers ask respondents to report how many hours per week they spend using social media platforms such as Instagram, TikTok, and X (formerly Twitter), they would use a(n) _____ scale.

Read Details

7+2 is what?  Do not submit this multiple-choice “test” unti…

7+2 is what?  Do not submit this multiple-choice “test” until you have completed ET6 (above) based on the directions that you have been sent regarding this event.    

Read Details

True or False:  External functions are functions that extern…

True or False:  External functions are functions that external apps use to process data within Snowflake.

Read Details

These types of cache exist even after the virtual warehouse…

These types of cache exist even after the virtual warehouse is suspended.

Read Details

What are two approaches to querying/parsing semi-structured…

What are two approaches to querying/parsing semi-structured data ?

Read Details

What two statements below are true about degenerative dimens…

What two statements below are true about degenerative dimensions?

Read Details

Using joins, create a single sql statement that selects the…

Using joins, create a single sql statement that selects the top 50 records from   SNOWBEARAIR_DB.PROMO_CATALOG_SALES.SUPPLIER, SNOWBEARAIR_DB.PROMO_CATALOG_SALES.NATION and SNOWBEARAIR_DB.PROMO_CATALOG_SALES.REGION   — include in your statement the supplier name, account balance, region name and nation name.  (supply the sql only – not the output)

Read Details

Select an example of phenotypic plasticity that occurs in re…

Select an example of phenotypic plasticity that occurs in response to a global change pressure (e.g., climate change, pollution, or habitat modification). In your essay: Describe how the organism’s phenotype changes across different environmental conditions. (2 pt) Explain how the response time, response window, and response permanence influence that organism’s ability to cope with or adapt to environmental change. (6 pts) Discuss whether the observed plasticity is likely to enhance the species’ long-term survival under ongoing global change. (2 pt)

Read Details

Posts pagination

Newer posts 1 … 33,084 33,085 33,086 33,087 33,088 … 100,383 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top