Questions tagged [register]

A special, high-speed storage area within the CPU.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

Clearing Flag Bits By Writing 1

Most of the interface devices have various flag bits (that can also raise interrupts if that functionality is provided) used to check the status of the device/operation. Usually they are cleared by ...
3
votes
2answers
2k views

Confusion between register size, address size, data size

I started learning about pointers in C++ and I figured I should educate myself a bit on how memory works and is accessed. I read that when we say a processor is 64-bit, it has a 64-bit register and ...
3
votes
2answers
5k views

Setup Time, Hold Time - What is the underlying principle for having them?

I'm learning about setup time and hold time of a FF connected to a bus. But the textbook fails to explain exactly why are those needed in an operation. Isn't a FF always powered on and attentive to ...
2
votes
2answers
5k views

Dynamically change PWM frequency with interrupt with STM32

I'm using an STM32F4 to control a stepper motor. I'm not sure if I need PWM mode or OC Mode or OnePulse Mode. I can generate a fixed frequency PWM wave but since I need a particular acceleration/...
2
votes
1answer
908 views

Verilog register output: reg or wire?

If I want to model a simple register I would expect to have an internal 'reg' element to hold the value and I would connect this with a 'wire' output. The reg drives an internal output. However, I'...
2
votes
2answers
2k views

How many servos can I run on an ATtiny85?

This is my first time asking a question on this website, so please correct me if I'm doing something wrong... I have been working on a small project which runs three Servo motors on an ATtiny85, ...
0
votes
0answers
96 views

Why did they make the 74x170 (670) register file asychronous, no CLK input?

I am designing a retro computer as a project to learn digital electronics hands-on (not FPGA programming). I currently have an accumulator machine similar to the PDP-8 where the ALU has the ...