Anwesa Roy, Don't use either section crossed out with red X's these will not work with your design using real types. Only the highlighted section is usable with your design as it is not synthesizable.
OP already said a couple of times, that he is not looking to synthesize the design. All he needs to do is use a simulator and not a synthesis tool.
Kevin