analyze -format vhdl -lib WORK {"BRIDGE.vhd"}
elaborate CFG_BRIDGE0 -lib WORK -update

include compile.scr

vhdlout_top_configuration_name = "CFG_BRIDGE_SYN"
vhdlout_top_configuration_entity_name = "BRIDGE"

write -format db -hierarchy -output "BRIDGE_GATE0.db"
write -format vhdl -hierarchy -output "BRIDGE_GATE0.vhd"

report_area

exit