xtcx
Advanced Member level 1
- Joined
- Dec 22, 2007
- Messages
- 493
- Helped
- 65
- Reputation
- 130
- Reaction score
- 58
- Trophy points
- 1,308
- Location
- Bangalore, India
- Activity points
- 5,003
writing packages in vhdl
Hello everyone, I have a program which takes much gates for 400K gates in spartan 3. The constraints ratio is now 103%. I used range for integers and dropped it to some 82%. But I'm in need of reducing lot more for adding some components. I have lots of redundant statements for LCD char,i2c. So If I use packages for lcd, so that I can send values whenever I need to that function by that way,could I reduce the occupation of gates?...Simply speaking, if I call that package for eg
lcd_char(lcd_data(1),rs,cs);
lcd_char(lcd_data(2),rs,cs);
likewise for about 10 times to send display 10 characters, will it consume about 10x the package size(gate)?....If I call that pakages multiple times, does that use more gates?...Please help...Also does declaring mroe arrays consume more gates?. Isn't there any other way to reduce gate consumption?. perhaps I use more if-else. Thanks in advance
Hello everyone, I have a program which takes much gates for 400K gates in spartan 3. The constraints ratio is now 103%. I used range for integers and dropped it to some 82%. But I'm in need of reducing lot more for adding some components. I have lots of redundant statements for LCD char,i2c. So If I use packages for lcd, so that I can send values whenever I need to that function by that way,could I reduce the occupation of gates?...Simply speaking, if I call that package for eg
lcd_char(lcd_data(1),rs,cs);
lcd_char(lcd_data(2),rs,cs);
likewise for about 10 times to send display 10 characters, will it consume about 10x the package size(gate)?....If I call that pakages multiple times, does that use more gates?...Please help...Also does declaring mroe arrays consume more gates?. Isn't there any other way to reduce gate consumption?. perhaps I use more if-else. Thanks in advance