Question
At each market tick (i.e. clock period) of a 24/7 trading stock, an indicator of whether the stock went up or down is input into
At each market tick (i.e. clock period) of a 24/7 trading stock, an indicator of whether the stock went up or down is input into the RTL hardware system. These stocks only have these two behaviors (up or down), i.e. these stocks do not stay at the same value. Every tick the stock goes up, the investor is awarded 12.5% of the balance, and this 12.5% is added to the balance, i.e. re-invested. There is no penalty if the stock goes down for one or two consecutive cycles, but every time the stock goes down for three consecutive clock ticks, the investor loses 50% of their balance (balance includes initial investment plus gains and losses). A fourth consecutive clock tick where the stock goes down does not penalize the investor a second time (but six consecutive ticks would penalize a second time). An investor can invest as much as $100 to initiate the slow bull, playing the stock for as many cycles as necessary for the stock to gain exactly 10 times. In other words, the slow bull is run until the stock is observed to go up for the 10th time. After this last win (i.e. tenth win), the slow bull stops trading and reports the final account balance. Develop the RTL hardware for this new investment vehicle. 1) Build the controller HLSM and datapath, determining the storage and computation units, choosing appropriate data-widths for the inputs/outputs. 2) Build the FSM from the HLSM to control the datapath components you select. 3) Next, build one part of the controller out of symbols/schematic for registers, gates, wires: You only need to build part of the FSM controller in hardware, the part for that controls the internal balance hardware (storage, selection) in the datapath (not the output final balance hardware, not the count hardware, not the input hardware, if any, not the next state logic hardware).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started