- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi
I have a add in verilog to add 2 times 4 bit A+B and a carry to get a result of 4 bit + 1 carry out I do use Quartus 14.0 and a MAX10 I do have this verilog code: module add_4bit_carry( Ai,Bi,cin, Fo,cout); input [3:0] Ai; input [3:0] Bi; input cin; output [3:0] Fo; output cout; wire [4:0] total; assign total=Ai+Bi+cin; assign Fo=total[3:0]; assign cout=total[4]; endmodule When I see the RTL I.m very surprised the CIN are not connected to the Carry in on the first adder ... I see no why Quartus do use 2 adders. I want to save LUT's and to have a high Fmax so how to force the CIN to be used? http://www.alteraforum.com/forum/attachment.php?attachmentid=11006&stc=1- Etiquetas:
- Intel® Quartus® Prime Software
- Verilog
Enlace copiado
2 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Have your checked the Technology Map Viewer. That will tell you how it is mapped into hardware. The RTL viewer is only really useful to get a idea of how things are connected up, it doesn't always give the best representation of code.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Yes same result in the Technology Map... I have tried different way to force it but no luck
I also found a this info at "https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/ug/ug_low_level.pdf" "The cin port of the CARRY_SUM primitive cannot be fed by an input pin." Guess it's not possible to route the cin / cout in the normal routing
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla