analyze -format vhdl -lib WORK {"MIPS.vhd"}
elaborate CFG_MIPS -lib DEFAULT -update

include compile.scr

vhdlout_top_configuration_name = "CFG_MIPS_SYN"
vhdlout_top_configuration_entity_name = "MIPS"

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

report_area

exit