Hello,
Actually a dam or a dyke can be simply represented by the topography, or by an obstacle like an island (solid boundary) in the case of a non submersible dam or dyke (if there is a flow in turbines in the dam I would treat it as a culvert). The weir facility in Telemac-2D is used for thin weirs or dykes that are submerged and that cannot be represented by the mesh.
It seems to me that, according to your description, what you want is simply a non-submerged dyke, and it effectively can be treated by a solid boundary, unless you want to have dry zones in your model, in which case you could represent the slope of the dyke with the topography (if it is to have only a thin layer of uncovered elements, due to a very steep slope, I do not recommend it, and this is not in the normal range of shallow water equations which are normally meant for gentle slopes).
With best regards,
Jean-Michel Hervouet