Тёмный

LMARV-1 reboot part 12: The sequencer 

Robert Baruch
Подписаться 37 тыс.
Просмотров 1,9 тыс.
50% 1

Working on the schematic for the sequencer.
nMigen exercises: github.com/RobertBaruch/nmige...
github repo for code: github.com/RobertBaruch/riscv...
RISC-V specs: riscv.org/technical/specifica...
nMigen tutorial: github.com/RobertBaruch/nmige...

Наука

Опубликовано:

 

26 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@ospis12
@ospis12 3 года назад
over one hour, i'm here for a treat
@hxt21
@hxt21 3 года назад
yes, then it will be a super good weekend. Sides with a cup of coffee and will enjoy seeing the whole thing and enjoy hearing Robert tell. Best time.
@obiwanjacobi
@obiwanjacobi 3 года назад
Nice! Thanks for the video. And I'm happy to see I am not the only one to use hierarchical sheets as block/module diagram ;-)
@gsuberland
@gsuberland 3 года назад
I ran into the same net naming limitation in Altium recently, when trying to build a normally closed jumper footprint. Weirdly, the documentation specifically mentioned being able to build these NC footprints as jumper parts, but you can't do it without DRC errors and massive confusion about net naming. Instead you have to mark it as a net tie. Apparently the hierarchical approach is more helpful, though. Bus entries and ports exist as a sort of "virtual tunnel" which allow you to connect arbitrary nets to each side. It then performs a bunch of DRC based on your project settings and individual bus/port settings, to prevent improper connection. On the PCB side it understands the same concepts and facilitates the routing.
@havresylt
@havresylt 3 года назад
1.5h of nerd heaven. Nice!
@wChris_
@wChris_ 3 года назад
I want to see the Hierarchy of this schematic.
@urjaman0
@urjaman0 3 года назад
For the 4-bit mux, wouldnt having just that one inverter make the non-inverted side act faster and thus cause times where both output enables are enabled and thus driver conflict? Having a buffer on the non-inverted path would make me happy enough about that, or just have a chip that does the 1-to-2 decoding (if easily available, i dunno). Or hey, if you want the 2 gates for the paths be the very same gate (same speed, less parts), they could be XOR-gates with one side tied to 0 and 1 for non-inverting and inverting respectively.
@lawrencemanning
@lawrencemanning 3 года назад
That use of an XOR gate to even out the latency on both paths is neat. Slightly more troublesome construction if you want to use single gate packages. Would be interested to hear from Robert if latency matters here.
@urjaman0
@urjaman0 3 года назад
Note: After applying one google search, i found out there exists a suitable 1-to-2 decoder in 6-pin SOT-23 (it also has an enable): 74LVC1G19
@RobertBaruch
@RobertBaruch 3 года назад
That's a neat idea!
@tomaspecl1082
@tomaspecl1082 3 года назад
I know you can buy quad 2-1 mux chips but I don't know if the logic family you are using has that. Wouldn't that be better than building your own? It could be faster maybe. And definitely smaller.
@PETMK
@PETMK 3 года назад
What about single 74x257? But there's a question why to do it when it goes from the ROM that has an output enable... If the muxed busses goes from the same memory chip it can be swithed by the invertor (74x1G04)...
@havresylt
@havresylt 3 года назад
Bless you!
@RobertBaruch
@RobertBaruch 3 года назад
Professional video editor here.
@PETMK
@PETMK 3 года назад
Maybe stupid idea but.... What if you use Z bus as the memory read data bus, Y bus as the memory write bus and the memory address and X as the memory address bus? I think they are free on the fetch phase, the X goes to the ALU to increment the address (by 0 or 4 - switched by just a constant on the Y bus on fetch ) and the instruction can be fetched from the Z bus... It may save a lots of chips and connectors
@PETMK
@PETMK 3 года назад
There's another question. If we have eight registers in paralell how it know which one should put its content to the output? I don't remember how it's solved on the card...
@madhusiddalingaiah5301
@madhusiddalingaiah5301 3 года назад
Either multiplexers or tri-state buffers are typical. Tri-state buffers are easier to extend with discrete logic, e.g. add as many sources (registers in this case) as you like. There are no tri-state buffers internal to FPGAs or ASICs, so you would use a MUX and let the compiler deal with it in that case. In the DTL days, you could just wire-OR outputs. That was a selling point of DTL, even though it was slower than TTL. I never actually used DTL, but there's still some literature out there that talks about it.
@PETMK
@PETMK 3 года назад
@@madhusiddalingaiah5301 I kow how it works but there is a card taht contains a mux on the input and then some flip flop with tristate output. Let's have eifht of them in paralell with different input mux select. But we also need to read the data from flip flops and question is how he handle output enables so iit seems the outputs are joined together. It would be bad if you had PC, SP and other registers in same time on the same bus...
@wChris_
@wChris_ 3 года назад
Well you could just record in 4k and let youtube do the down scaling to the other resolutions (also you are already doing it by recording in window mode)
@lawrencemanning
@lawrencemanning 3 года назад
The one downside is it would make it really hard to watch on a phone.
@xxleite
@xxleite 3 года назад
1:17:09 salud !
@RobertBaruch
@RobertBaruch 3 года назад
Ha ha, oh no, I forgot to edit that out!
@ancapftw9113
@ancapftw9113 3 года назад
I think it's pronounced "key cad" not "kie cad".
Далее
LMARV-1 reboot part 13: More sequencer schematicking
1:26:58
QVZ PREMYER LIGA
00:18
Просмотров 1,3 млн
LMARV-1 reboot part 14: Chips that don't exist
37:37
LMARV-1 reboot part 11: The crossbar
15:48
Просмотров 2,8 тыс.
Java Is Better Than Rust
42:14
Просмотров 102 тыс.
LMARV-1 reboot part 5: formal verification of the CPU
54:35
9 Ways to drive a MOSFET
8:10
Просмотров 31 тыс.
10 useful git aliases
7:45
Просмотров 13 тыс.
LMARV-1 reboot part 6: About CSRs and interrupts
21:32
Просмотров 3,7 тыс.
10 МИНУСОВ IPHONE 15
18:03
Просмотров 31 тыс.