analyze -format vhdl -lib WORK {"BRIDGE.vhd"}
elaborate CFG_BRIDGE2 -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_GATE2.db"
write -format vhdl -hierarchy -output "BRIDGE_GATE2.vhd"

report_area

exit