Better HN
topnewbestaskshowjobs
Log inSign up

petrohi

361 karma · joined May 22, 2011 (15y ago) · 95 submissions

Submissions

1.

DBOS(en.wikipedia.org ↗)

17 points · by petrohi · 2y ago · discuss

comment 2y ago · link · parent

I remember using Soviet-made VAX clone from СМ ЭВМ series:

https://en.m.wikipedia.org/wiki/SM_EVM

comment 2y ago · link · parent

I want to mention another awesome project, which implements PDP-11 on FPGA and can be used with PiDP-11 panel. (PiDP-11 by default uses software emulator running on Raspberry Pi.)

https://pdp2011.sytse.net/wordpress/

comment 2y ago · link · parent

Not the parent poster, but my experience may be relevant.

My background is exclusively in software engineering and computer science. I started by reading “Digital Design and Computer Architecture”. There’s new RISC-V edition https://a.co/d/imzGBK5 as well as freely available ARM edition https://dl.acm.org/doi/book/10.5555/2815529. The book starts from Boolean logic and transistor technology and goes all the way to assembly programming with everything in between. Most importantly gives great introduction to HDLs. Next I played with a bunch of hardware projects specifically targeting inexpensive Arty-A7 board to get comfortable with FPGA tooling.

I can attest to the parent saying that this is sufficiently different from software engineering I do at my day job and therefore feels a lot more like hobby. Especially if you also foray into wire-wrap prototyping, PCB design and assembly. Finding and fixing analog "bugs" is so much fun!

comment 3y ago · link · parent

I started by reading “Digital Design and Computer Architecture”. There’s new RISC-V edition https://a.co/d/imzGBK5. The book starts from Boolean logic and transistor technology and goes all the way to assembly programming with everything in between. Most importantly gives great introduction to HDLs. Next I played with a bunch of hardware projects specifically targeting inexpensive Arty-A7 board to get comfortable with FPGA tooling.

6.

Modular launches unified inference framework and new programming language for AI(modular.com ↗)

6 points · by petrohi · 3y ago · discuss

7.

Thousands of conductance levels in memristors integrated on CMOS(nature.com ↗)

3 points · by petrohi · 3y ago · discuss

comment 3y ago · link · parent

It has TTL RGBI and composite NTSC outputs. The latter is actually very interesting in that it can produce 16-color images using color smearing effect on NTSC TV. Many games from the period used this to achieve more colorful graphics at the expense of dropping to 160x200 resolution. OP port of Wolf3d is also supporting this mode.

I am working on FPGA-based converter to be able to show RGBI and composite CGA on modern VGA screens.

comment 3y ago · link · parent

Yes, specifically IBM PCjr-ish clone. Compared to IBM PC 5150 it has 2x slower access to the first 96K of RAM due to “integrated” nature of its non-standard take on CGA. But, the rest of RAM is actually faster than IBM PC because it is a modern retro computing extension card made with fast SRAM.

comment 3y ago · link · parent

Tried it on 4.7MHz 8088. Looks great but too slow to enjoy the gameplay.

11.

Getting Tensil to run ResNet at 300 FPS on ZCU104(k155la3.blog ↗)

1 points · by petrohi · 4y ago · discuss

12.

Getting ResNet to 300 FPS on ZCU104(k155la3.blog ↗)

1 points · by petrohi · 4y ago · discuss

comment 4y ago · link · parent

This two-part blog explains step by step how to build a robot starting from training the ML model, using FPGA for hardware acceleration, writing an embedded C program and finally assembling everything on the chassis.

14.

Show HN: Speech Controlled Robot on FPGA(k155la3.blog ↗)

3 points · by petrohi · 4y ago · 1 comment

comment 4y ago · link · parent

We work on an open source tensor processing unit at https://tensil.ai. It is not RISC-V based since only a handful of very simple instructions is needed for expressing data flows typical in ML.

16.

Show HN: YOLO v4 Tiny with Tensil on Ultra96 FPGA Board(k155la3.blog ↗)

8 points · by petrohi · 4y ago · discuss

comment 4y ago · link · parent

Something like the Alveo PCIe card has onboard HBM/DDR4 memory large enough for Tensil DRAM pools, so this would be similar to how GPU operates but could also reach to host memory via PICe if needed. Embedded applications with Zynq 7 and UltraScale+ have ARM processors on the same chip with FPGA and (usually) DDR as separate chips on one PCB. In this case, Tensil DRAM pools are just contiguous memory blocks in the memory shared with the CPU. We will be publishing documentation on the compiler design soon--stay tuned!

comment 4y ago · link · parent

Great questions! With Tensil, all computations are performed on the FPGA. In addition to matrix multiplication Tensil supports SIMD instruction with various operations. The ML activations, average and maximum pooling, normalization, and image resizing use SIMD instruction. Some ML operations, such as padding, are achieved by changing the memory layout. Tensil uses DRAM0 and DRAM1 memory pools (usually in DDR memory) to interact with the host to read model inputs and weights and write outputs. It also uses these pools to offload intermediate results between layers and between tiles within a layer when FPGA does not have sufficient BRAM, which is common on lower-end devices. Tensil compiler takes care of finding the most efficient memory scheduling for given on-FPGA memory size.

comment 5y ago · link · parent

It’s possible to form monochrome VGA signal with an SPI, which is commonly available in microcontrollers.

I did little write-up on how to do it efficiently (DMA etc) on PIC32: https://hackaday.io/project/173682-color-ascii-terminal/log/...

comment 5y ago · link · parent

Very glad to see Rust on PIC32! This microcontroller is one of the very few that is still made in DIP package making it ideal for breadboardind and easy through-hole soldering, and by far most powerful, making it ideal choice for interesting projects.

21.

Seymour Cray: What's All This About Gallium Arsenide? (1988)(youtube.com ↗)

2 points · by petrohi · 5y ago · discuss

comment 5y ago · link · parent

Hello HN. SIDfi is a single-board self-contained SID file player. SIDfi requires the original MOS 6581 chip or a pin-compatible replacement such as ARMSID. SIDfi plays tune files such as High Voltage SID Collection from a FAT-formatted memory card and displays current tune information on a small LCD screen. Buttons on the LCD screen can be used to control the playback.

SIDfi is still very much work in progress. I am planning to add ability to play specific SID tunes and directories with joystick buttons and improving playback screen presentation.

23.

Show HN: Single-board SID file player(github.com ↗)

2 points · by petrohi · 5y ago · 1 comment

24.

Conway's Game of Life on FPGA(k155la3.blog ↗)

128 points · by petrohi · 5y ago · 30 comments

25.

Forth SoC Written in VHDL(github.com ↗)

54 points · by petrohi · 5y ago · 12 comments

comment 5y ago · link · parent

Have you tried MikroTik gear?

27.

VT100 on PIC32 Microcontroller(github.com ↗)

3 points · by petrohi · 6y ago · discuss

comment 6y ago · link · parent

This is great! Would be also interesting to have side-by-side history of US, Russian and French nuclear power programs.
1234