Built an 8×8 Verilog morphological image processing fabric (64% LUT, 2% DFF) — looking for advice on where to take it next
▲ 15 r/Verilog+2 crossposts

Built an 8×8 Verilog morphological image processing fabric (64% LUT, 2% DFF) — looking for advice on where to take it next

Hi everyone,

I've been working on a side project to learn FPGA architecture design and hardware image processing.

The project is a Local Interaction Processor (LIP): an 8×8 parallel image-processing fabric written entirely in Verilog.

Current features:

- 64 processing elements (8×8)

- Erosion

- Dilation

- Opening

- Closing

- Uniformity

- Roughness

- Programmable 3×3 structuring element masks

- Multiple simulation testbenches

- Yosys ASIC synthesis

- ECP5 FPGA synthesis

Architecture:

frame_in

lip_top

lip_array

64 × lip_pe

minmax_engine + threshold_engine

frame_out

One thing that surprised me during FPGA synthesis is that the design is extremely compute-heavy.

Resource utilization before placement:

- Total LUT4: 54298 / 83640 (64%)

- Logic LUT: 35034 / 83640 (41%)

- Carry LUT: 19264 / 83640 (23%)

- DFF: 2048 / 83640 (2%)

- RAM usage: 0%

This kind of makes sense since the architecture is basically a giant parallel neighborhood-comparison machine with almost no memory hierarchy.

Right now I'm trying to figure out where to take the project next.

Some ideas I had:

  1. OpenLane ASIC flow

  2. Add BRAM + streaming interfaces

  3. AXI integration

  4. Deploy onto a real FPGA board

  5. Try cloud-hosted FPGA platforms

My questions for experienced FPGA engineers:

- Is a LUT-heavy / memory-light architecture normal for this kind of workload?

- Is there a better architectural approach for morphological image processing?

- What would be the most logical next step if the goal was turning this into a "real" accelerator instead of just an RTL project?

I'd appreciate any suggestions or critiques.

Repo: https://github.com/abhi15-bose-max/LIP

Also the zenodo link ( IDK if its working, first time putting on zenodo): https://zenodo.org/records/20822134

u/New_Today172 — 13 days ago

Need some more help, advice, guidance

THIS WILL BE A LONG AND A BIT DETAILED POST , PLEASE READ THROUGH IT, THANK YOU FOR YOUR TIME AND PATIENCE

So I had posted before on this sub, the sadhana given by people have helped me a lot, I feel a lot more stronger, disciplined and focussed ( though I couldn't do it 100% meticulously due to the heavy course work of my institute, and my shitty oversmart athiest room mate who always passes comments, but now he has left and my room is all mine, no room mate).

I have completed my 3rd year and now I have summer vacation, I am at home now. But I am facing a few more problems. I am pursuing physics major, which is not that industry relevant, hence placements are very tough. So I started to acquire new skills, particularly in hardware and chip designing using open source tools( like ASIC designing in openLANE , analog-digital mixed signal processing in QSPICE).

I have some really cool personal projects exploring potentially novel methods of computation and aiming to overcome traditional bottlenecks. Now this March I had contacted a Professor in IIEST , he was impressed by my work , and said he will provide me with more work and necessary hardware but he has ditched me now after all promises. My institute professors ( I am in IISERP ) are not very supportive either, I asked for FPGA access to try out a novel matrix multiplication algo which may reduce energy requirements for edge AI chips, but no response.

I am lost, these 3 years of my college life I have wasted, I dont have any formal interships ( just an informal sem project), I have skills but no recognition . I really wanna pursue higher education in Europe) UK, Germany) or US/Australia , related to hardware design and unconventional computing.

So I am asking if anyone here can provide any sadhana which can help me achieve my goals, and please trust me when I say this , I am already working very hard and am ready to work even harder for my upskilling and am ready to sacrifice anything to achieve my goals, I dont want to fail at any cost. I know I have wasted time, I was too busy trying to "find my interest", I shouldn't have done that , but I am willing to do anything to make up for it

So if possible , I am looking for a sadhana which can help me be more focussed and help me overcome planetary afflictions if any......PLS HELP

Thankyou so much for for your time

My previous post on this sub :- https://www.reddit.com/r/Tantrasadhaks/comments/1ppkdhk/need_some_help_advise/

reddit.com
u/New_Today172 — 24 days ago
▲ 7 r/VHDL

Need some opinion on personal projects

Although these projects are written in Verilog rather than VHDL, I thought the architecture side might be interesting to this community.

I've been learning digital design and built two small spatial-computing style fabrics:

• A programmable morphology accelerator using local 3×3 neighborhood logic

• A wavefront-routing fabric where shortest-path information propagates across a mesh of cells

Both were simulated, synthesized through OpenLane, and taken all the way to GDSII.

I'd appreciate feedback on the RTL architecture and whether similar approaches have been explored in larger FPGA or ASIC systems.

Repos:

https://github.com/abhi15-bose-max/morphology-fabric-asic

https://github.com/abhi15-bose-max/wavefront-routing-fabric

u/New_Today172 — 1 month ago
▲ 8 r/FPGA

Need Some opinion regarding personal projects

I've been teaching myself digital design and OpenLane recently and built a couple of small spatial-computing style hardware projects.

One is a programmable morphology accelerator based on local 3×3 neighborhood interactions.

The other is a wavefront-routing fabric where routing costs propagate across a mesh of cells and automatically route around obstacles.

Both are currently implemented in Verilog RTL and synthesized to SKY130 through OpenLane.

I originally built them as learning projects, but I'm curious whether similar architectures have been explored on larger FPGA fabrics or CGRA-style systems.

Repos:

https://github.com/abhi15-bose-max/morphology-fabric-asic

https://github.com/abhi15-bose-max/wavefront-routing-fabric

Any feedback or suggestions for improvement would be appreciated.

u/New_Today172 — 1 month ago
▲ 2 r/Nakshatras+1 crossposts

Will The upcoming Rahu Antardasha be any better??

Since November of 2023 , life feels stock , as if it doesn't progress, will the upcoming Rahu antardasha be any better?? I lost my academic edge in this mars antardasha , I am working on personal projects now , I just wanna know if things will get better.

u/New_Today172 — 2 months ago