FPGA üzerinde Ethernet anahtarı üzerinde çalışıyorum. 8192 MAC adresim var, bunları 16-bit Hash algoritmasından geçirerek MAC tablosunu oluşturmaya çalışıyorum. bununla ilgili bir kaç sorum var;
Mac tablosu olarak kullandığım blok RAM'in adres portu olarak hash algoritma sonucunu kullanıyorum. Bu şekilde 1 saat döngüsünde arama işlemini tamamlıyorum ancak 16 bit HASH algoritması için 2^16 = 65536 adreslik çok büyük bir RAM oluşturuluyor.
65536 adresin sadece 8192 adresi kullanılır, gerisi boş kalır. Bunu daha verimli nasıl yapacağımı bilmiyorum. Yardımınız için şimdiden teşekkür ederim.
Please use English text..Mod
I am working on Ethernet switch over FPGA. I have 8192 MAC addresses, I'm trying to build the MAC table by passing them through the 16-bit Hash algorithm. I have a few questions about it;
I am using the hash algorithm result as the address port of the block RAM that I use as the mac table. In this way, I complete the search in 1 clock cycle, but for the 16-bit HASH algorithm, a very large RAM of 2^16 = 65536 addresses is created.
Of the 65536 addresses, only 8192 addresses are used, the rest is left blank. I don't know how to do this more efficiently. Thanks already for your help.
Mac tablosu olarak kullandığım blok RAM'in adres portu olarak hash algoritma sonucunu kullanıyorum. Bu şekilde 1 saat döngüsünde arama işlemini tamamlıyorum ancak 16 bit HASH algoritması için 2^16 = 65536 adreslik çok büyük bir RAM oluşturuluyor.
65536 adresin sadece 8192 adresi kullanılır, gerisi boş kalır. Bunu daha verimli nasıl yapacağımı bilmiyorum. Yardımınız için şimdiden teşekkür ederim.
Please use English text..Mod
I am working on Ethernet switch over FPGA. I have 8192 MAC addresses, I'm trying to build the MAC table by passing them through the 16-bit Hash algorithm. I have a few questions about it;
I am using the hash algorithm result as the address port of the block RAM that I use as the mac table. In this way, I complete the search in 1 clock cycle, but for the 16-bit HASH algorithm, a very large RAM of 2^16 = 65536 addresses is created.
Of the 65536 addresses, only 8192 addresses are used, the rest is left blank. I don't know how to do this more efficiently. Thanks already for your help.