Assume that 'a' and 'y' are 8-bit signals with the std_logic_vector (7 downto 0) data type. If the signals are interpreted as unsigned numbers, the following assignment statement performs a / 8. Explain. y <= “000” & a(7 downto 3); This question is in RTL Hardware designing chapter 3 Problem 3.6. I have the answer of this problem and that is by shifting three times right to any binary value will be divisible by 8 but i don't know how .? Can anyone explain this .?
Digital Logic Fundamentals Binary Division Hardware Designing
514 Views Asked by BillHark At
1
There are 1 best solutions below
Related Questions in BINARY
- Serializing to disk and deserializing Scala objects using Pickling
- Need Helped Understanding an 8-Bit Signed Decimal with 2's Compliment
- writing into file (Converting Base64 to Binary) values Using VFS and ESB 4.8.1
- Store 3 bit binary numbers in C++ array
- Benefits of storing hex in DB over file
- Binary to CSV record Converstion
- Add binary numbers like decimal numbers in Java. eg 0101 + 0110 = 0211
- Reading a line of binary file MATLAB
- Long.parseLong Error
- Reading binary file in Perl
- Fast Random Permutation of Binary Array
- Type safety and NEG instruction
- Populating data from a binary stream using byte array in java
- 1MiB = 1024KiB = 2^10. Nonetheless, why not use just 1000 byte instead 1024 to calculate size?
- Need help understanding how vectors are represented in binary [C++]
Related Questions in HARDWARE
- How to get temperature value from DS18B20 voltage
- Swich table in case of CRC error
- How verify server's hardware before install it into data center?
- What strategies and practices are used, when running very intense and long calculations, to ensure that hardware isn't damaged?
- Hardware upgrade for developing android App on Android studio
- XMega: CDC on USB composite controller does not function properly
- How do user-space applications control hardware (Location/Network/Wifi) in Android?
- How to get parameter name of "Target hardware"-Field in "Run on target hardware" in Matlab Simulink?
- lshw return network device is unclaimed, I need more diagnostic
- How to get started on creating a safe that will open and close upon entering a passcode into it?
- Generating fingerprint of virtual machines
- Can Java control hardware devices on PC?
- Using Dependency Injection for hardware abstraction
- Get Ram Information OSX
- Benefit of hardware with mobile access instead of wifi
Related Questions in DIVISION
- How to divide list item by list item from another list using Python?
- Delphi Division with equal splitting of the rest (MOD)
- Find smallest number formed by two digits divisible by given number
- Strange division results in python 3
- Perform integer division using multiplication
- Division in Matlab is giving values close to zero
- Incorrect division result with double value
- Dividing a constant by an std_logic_vector
- Reduce nrows of large data frame to nrows of smaller data frame when dimensions are not divisible
- Fast approximate float division
- Div height 100% following two float divs inside
- Python Division Many Decimal Places
- Rounding, variable from a .txt in Python 3 and extra
- Visual Basic Random Number/Mod
- Python Division Of Complex Numbers Without Using Built In Types and Operators
Related Questions in DIGITAL-LOGIC
- Assembly language, don't understand the instruction codes and memory locations
- What is the component for if-clause in digital logic?
- Time complexity in n bit array multiplication
- Design does not fit ispLEVER
- A program that would test two input gates (AND, OR, NAND, NOR, and XOR)
- Is it possible to avoid specifying a default in order to get an X in Chisel?
- Verilog: Store counter value when reset is asserted
- Chisel runtime error in test harness
- Why K-map has states in sequence of 00,01,11,10 instead of 00,01,10,11?
- Does modeling digital circuits in C have any practical benefits as opposed using the language's standard operations?
- Digital Logic Fundamentals Binary Division Hardware Designing
- Non Restoring Division in Iverilog
- Digital logic - mealy state machines?
- Digital Logic - Karnaugh Map
- How to simplify circuits
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Look at the simpler case of calculating a/2. Shifting the bits right means they move to a position with half the value as the previous one.
Examples:
The last example showed 5/2=2.5 automagically truncated into 2 since the least significant bit was shifted out.
To get a/8, just repeat a/2 three times ie shift down three positions. In hardware, this is usually done by "moving the wires", in this case by wiring bits (7 downto 3) into position (4 downto 0) and filling the upper three bits with zeros.