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
516 Views Asked by BillHark At
1
There are 1 best solutions below
Related Questions in BINARY
- ELF binary has inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: Assertion `sym != NULL' failed
- How to only estimate neonatal mortality using syncmrates in Stata?
- change binary data like "111 into 001" in python by using if else or using regex
- Error in eval(predvars, data, env) : object 'Juice_practice' not found when running binary logistic regression in r
- How to subtract large binary numbers?
- How to convert n most significant bits in a hexadecimal byte string in Python 3
- Is it possible to represent -3/32 as a binary floating-point value using only 7 bits
- how to copy binary files to the worker nodes on Databricks?
- Decimal to Binary program not working on my local machine but works perfectly on online compiler
- After saving to txt file all of the data is corrupted
- Reading .bson file with Rust
- Why won't my binary search work for numbers that are double digits?
- MIPS Aiken to Binary
- Minimizing the number of basic arithmetic/binary operators needed to arrive at all others
- Resnet50 for binary classification predicts all the images to be of the same class
Related Questions in HARDWARE
- Is cartopy projections are computaionally heavy?
- Memory location changing from 0 to 1 consistently on Mac
- How to adjust differences of hardwares while executing code
- Read/write data to DS1642
- How can I get current cpufreq in kernel code?
- Is it possible to fetch iPhone device model number (MT552GR/A) programatically?
- The problem with running the Simulink model on arduino uno
- In VSC and other apps, when i scroll the text becomes black and turns normal after a very short delay 100ms. It is really annoying
- ERROR in rc_mpu_calibrate_accel_routine, center of fitted ellipsoids(in beagle bone blue)
- Will the 16n prefetch in DDR5 affect the bandwidth of small-granularity memory accesses?
- suppose a program is running on 5 threads.If an extra thread is added,what factors should be considered?
- Signed Driver rejected by Windows 10
- How to randomly simulate keypresses for special keys
- How does a TLB manage memory translation for addresses that cross page boundaries?
- Get number of RAM channels as a property of the system
Related Questions in DIVISION
- Vector by Scalar Division with -ffast-math
- Restoring division algorithm in Risc V
- Evaluating this in Assembly (A % B) % (C % D)
- Why don't x86-64 (or other architectures) implement division by 10?
- SVG: How to Divide a Circle into Equal Segments of 12
- Fast Division C++
- How to divide a nonnegative variable integer by a constant fixed-point rational ≥1 without overflow (at all, if possible)?
- Converting a large Bit List to a decimal string in Java
- Issue with div in NASM
- Fast computation of squared norm and normalized vector with Eigen
- Implementation of the binary division in C
- How Do I Avoid np.where Calculating Divisions By Zero?
- Multivariate Polynomial division in Macaulay2
- C++ Code Issues: Partial Execution and Unexpected Results
- Best way to find divisors of a number
Related Questions in DIGITAL-LOGIC
- designing a circuit with 3 3-bit inputs and 4 1-bit outputs
- Non Restoring Division in Iverilog
- How to mitigate / suppress tristate bus conflict warnings with Cocotb?
- Draw Logic Circuits using python's schemdraw
- How to implement the Boolean function = + ′′ + ′ with NAND and NOT gates
- FPGA Basys 3 State Machine Logic with PMOD ALS Sensor
- Understanding the functioning of 'and' and 'or'
- How can I determine the sop and pos part from a combined expression
- width mismatch in assignment; target has 10 bits, source has 8 bits error
- Using One's Complement In Place of Directly Subtracting Two Binary Numbers
- How to write ALU control lines?
- Multiplication table in VMLab / AVR
- VHDL - Upper digit output does not go up from '0000', when implementing two-digit-bcd-counter
- Output not as expected when implementing 4-bit SISO register in VHDL
- Problem while implementing JK-Flip Flop in VHDL
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 # Hahtags
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.