subcontracted to redesign TOP containing the following subsystems: (1) DOME for surveillance containing: • two motors (for shutter) for closing / opening a dome • a controller that receives data about: ◦ wind speed Temperature (temp) • a warning light • a warning siren (2) the outdoor siren (3) an outdoor warning light (4) air conditioning system (AIR_CON) (5) electricity monitoring system (EE_MONITOR). The current consumed is in Amperes (10A for each moving motor, 5A for air conditioning if running), 1A for the siren or warning light if it sounds / is on. Energy = 24V voltage * Current * time_seconds (units of Ws). The maximum integration time will not exceed 30 years. (6) button for requesting the opening of the dome The interface of the modules is as follows (the number of bits must be set as appropriate) CONTROLLER; // which decides when the engines and air conditioning can be started SIREN; // cmd == 0, the siren is commanded not to sound. Attention: since it was ordered not to ring, she rings another 1 second. WARNING_LIGHT // cmd == 0 light is commanded not to light up. Warning: since when ordered not to ring, it rings for 1 second. ENGINE // cmd == 0 the engine sits, cmd == 1 the engine spins. Very short commands are ignored (<< 1 second) AIR_CON Ignoring very short commands (<< 1 second) EE_MONITOR BUTTON (input buttonin, output buttonout); Ignoring very short commands (<< 1 second) Attention, the TOP module does not need to be implemented for HDL, only for SIM. The air conditioning is turned on if the temperature is at least 47 degrees (regardless of the dome is open or not) and stops after falling below 20 degrees Celsius. Otherwise, it's off. DOME opens the dome in 10 seconds from when the command is given, and the command is executed only if the wind is below 10 km / h and the temperature below 50 degrees C. As long as the DOME engines open or I close the dome, the warning light and the siren sounds (then continues to shine / sounds another second, to make sure they were heard)