Question

In: Electrical Engineering

What are slices and what are they used for ? What are Offset IN/ Offset Out?

***Verilog**

What are slices and what are they used for ?

What are Offset IN/ Offset Out?

How does JTAG allow the user to debug? 

What's the difference between SPI and BPI?


Solutions

Expert Solution

  • What are slices and what are they used for ?

  • The slice() function returns a slice object.

    A slice object is used to specify how to slice a sequence. You can specify where to start the slicing, and where to end. You can also specify the step, which allows you to e.g. slice only every other item.

  • Syntax:

    • slice(start, end, step)

  • Example

    Create a tuple and a slice object. Start the slice object at position 3, and slice to position 5, and return the result:

    a = ("a", "b", "c", "d", "e", "f", "g", "h")
    x = slice(3, 5)
    print(a[x])

  • What are Offset IN/ Offset Out?

  • Offset in and out constraints are all with respect to the pins of the FPGA.

  • Any internal paths (within the FPGA) are computed by the tools. So what you need to tell the tools is the actual available setup and hold time at the FPGA pins for inputs.

  • For example, lets say you have a device clocked with the same clock signal provided to the clock input of the FPGA.

  • You need to find the minimum and maximum time that the external device can take to change it's outputs after the clock.

  • Assuming that the clock arrival time to the external device is the same as the clock arrival at the pin of the FPGA, then the minimum clock to output time will be the available hold time.

  • The clock period minus the maximum clock to output time will be the setup time available to the FPGA. Now the constraint is calculated as setup time and valid time rather than setup and hold. Valid time is the sum of available setup and hold times.

  • Note that due to board level clock path differences it is possible for one of these to be negative.

  • How does JTAG allow the user to debug? I thought it was only to program the FPGA:

  • JTAG to debug embedded devices by allowing access to any part of the device that is accessible via the CPU, and still test at full speed.

  • This has since become a standard emulation debug method used by silicon vendors. JTAG can also provide system level debug capability.

  • Having extra pins on a device provides additional system integration capabilities for benchmarking, profiling, and system level breakpoints.

  • What's the difference between SPI and BPI??

  • SPI :-

    SPI protocol is serial type interface. It requires less number of programming pins compare to BPI for configuration. The configuration time is more compare to BPI

    • FPGA configures as per industry-standard SPI serial interface protocal.

    • Mostly used in multi-boot applications where multiple bitstreams can be loaded by the FPGA
  • BPI:-

BPI protocol is parallel type interface. It requires more number of programming pins compare to SPI for configuration. The configuration time is less compare to SPI

  • Uses standard parallel NOR Flash interface
  • No clock is needed because the FPGA contains the control logic
  • Flash is easily used as addressable memory with address and data buses. Usually used in embedded applications

Related Solutions

A pizza baker uses 100 slices of pepperoni, 50 slices of mushrooms and 150 slices of...
A pizza baker uses 100 slices of pepperoni, 50 slices of mushrooms and 150 slices of peppers for each pizza pie. After baking, he divides the pies in 10 slices. What is the probability that in one slice of pizza… There are at most 8 slices of pepperoni: 0.6672     b) 0.6472                c) 0.2202                   d) 0.3328 No mushrooms at all: 0.0067     b) 0.0498                 c) 0                              d) 0.0302 Less than 13 pepper slices: 0              b)...
Compare and contrast counter purchase agreements and offset arrangements. Why might an exporter prefer an offset...
Compare and contrast counter purchase agreements and offset arrangements. Why might an exporter prefer an offset to a counter purchase deal?
he following table shows​ William's utility from consuming slices of pizzapizza and cans of CokeCoke. Slices...
he following table shows​ William's utility from consuming slices of pizzapizza and cans of CokeCoke. Slices of PizzaPizza Total Utility from PizzaPizza Marginal Utility from Last Slice Cans of CokeCoke Total Utility from CokeCoke Marginal Utility from Last Can 0 0 ​- 0 ​- ​- 1 36 36 1 30 30 2 66 30 2 55 25 3 90 24 3 75 20 4 108 18 4 90 15 5 120 12 5 100 10 6 126 6 6 105...
What would you do to offset the effect of the HFCS-obesity research on the demand for...
What would you do to offset the effect of the HFCS-obesity research on the demand for Coca-Cola? Based on economic theory explain your decision. Explain if your decision is working. What is the effect of population on consumption of Coca-Cola? Assume that consumers are worried about the positive relation between consumption of HFCS and obesity, so consumers may increase bottled water consumption. Explain the effect of this on the demand for Coca-Cola. Is the cross price elasticity of demand between...
what variables are used for a regression model. in regards to finding out the outcome of...
what variables are used for a regression model. in regards to finding out the outcome of a loan application at a financial institution.
1-How does the crowding-out effect tend to offset expansionary fiscal policy? 2-Recessions affect banking sector performance...
1-How does the crowding-out effect tend to offset expansionary fiscal policy? 2-Recessions affect banking sector performance and sometime may lead to banking insolvency. Please explain how recessions affect banking performance and how it may lead to banking insolvency
What are some ways that a restaurant chain or other small business can offset the increase...
What are some ways that a restaurant chain or other small business can offset the increase in payroll and subsequent decrease in profit as the result of a minimum wage hike? Please explain in discussion format.
What are stabilization wedges and how might their use offset future increases in greenhouse gas emmision?...
What are stabilization wedges and how might their use offset future increases in greenhouse gas emmision? Give 5 wedge examples and indicate how might they help.
1. What types of risks should shareholder wealth-maximizing managers seek to offset in a firm they...
1. What types of risks should shareholder wealth-maximizing managers seek to offset in a firm they are managing? Why? 2. How can patents, copyrights, and legal challenges be used to manage business risk?
1. What types of risks should shareholder wealth-maximizing managers seek to offset in a firm they...
1. What types of risks should shareholder wealth-maximizing managers seek to offset in a firm they are managing? Why? 2. How can patents, copyrights, and legal challenges be used to manage business risk?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT