How to assign constant value to bus in Quartus II schematic editor?
Create a LPM_CONSTANT block from the Symbol tool, shown below.

Then double click the symbol to go to symbol properties and enter the desired value and bus width, shown below.